Re: [Asterisk-java-users] ResetCDR vs ForkCDR
Brought to you by:
srt
From: Thameem A. <tha...@ya...> - 2006-08-03 03:22:58
|
Actualy you are correct. I am using forkcdr and userfield to do this workaround. -Thameem Vadim Berezniker <Va...@nb...> wrote: ResetCDR will create a new record like you want, but the dst field will still not be correct. The easiest solution is to just use SetCDRUserField and store the information there. -----Original Message----- From: ast...@li... on behalf of Thameem Ansari Sent: Mon 7/31/2006 10:49 PM To: asterisk java Subject: [Asterisk-java-users] ResetCDR vs ForkCDR 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. |