[Asterisk-java-users] Originate and CDR.
Brought to you by:
srt
From: Jan du T. <jan...@de...> - 2006-03-22 09:21:21
|
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. |