[Asterisk-java-users] ResetCDR vs ForkCDR
Brought to you by:
srt
From: Thameem A. <tha...@ya...> - 2006-08-01 02:50:03
|
Hi, I am writing a calling card application and here is how it works. User call the toll free number and the context answer() the call and pass it to AGI. Inside AGI i am getting the callerid and identifying the accountcode then setting it to the channel. Once everything is good then execute the Dial application from the AGI. This works perfect. Now the problem is, once the call is completed, I am seeing only one CDR record with src=callerid and dst=destination number and the billable secs includes the seconds used during the initial IVRs. (ie, start from Answering the toll free incoming until the hangup) I tried using resetCDR() and forkCDR() before I Dial but nothing works. Please help me figure out the issue. Thanks, Thameem --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. |