Re: [Asterisk-java-users] ResetCDR vs ForkCDR
Brought to you by:
srt
From: Vadim B. <Va...@nb...> - 2006-08-02 14:20:41
|
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 =20 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=3Dcallerid and dst=3Ddestination 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 =09 --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. |