RE: [Asterisk-java-users] Originate and CDR.
Brought to you by:
srt
From: Jason W. <jas...@be...> - 2006-03-22 13:27:15
|
The problem is that you cannot use originate to connect to an application if you want to use the default CDR. This is a documented issue. You can however, put the call into a context and call your app from the extensions in the context. Jason -----Original Message----- From: ast...@li... [mailto:ast...@li...]On Behalf Of Jan du Toit Sent: Wednesday, March 22, 2006 4:17 AM To: ast...@li... Subject: [Asterisk-java-users] Originate and CDR. Hi. I am using Originate to make outbound calls. Moreover the cdr_manager astersik module is enabled so that I can receive and handle CdrEvents via ManagerEventHandler when the call is hangedup. The problem is that the billableseconds is always zero. [CdrEvent.getBillableSeconds()] I think it has to do with the fact that the answer time field in the CDR is null [CdrEvent.getAnswerTime()]. All the other cdr fields are correct. It is as if asterisk doesn't really know when the call was answered and thus the number of billable seconds can not be established. What is causing this problem and how can it be fixed? PS. The Originate is used to connect to asterisk applications. Thus the application and data parameters are set, not the the extension and context parameters. Thanks in advance. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |