[asterisk-users] What is billsec in CDR?

Jian Gao jian.gao at sjgeophysics.com
Thu May 6 12:34:01 CDT 2010


Philipp von Klitzing wrote:
> Hi!
>
>   
>>> apps like playback do an implicit answer and this fires up the billsec
>>> counter.
>>>   
>>>       
>> OK, here is my dialplan:
>> exten => _011X.,n,Playback(this-call-will-end-in)
>> exten =>
>> _011X.,n,Dial(SIP/${EXTEN}@${LDTrunk1},60,L(${ms}:30000))
>>
>> Is there any way that Asterisk will record the correct billsec? Or, is
>> there a different approach?
>>     
>
> Place a ResetCDR() after your Playback() statement and before Dial().
>
> Philipp
>
>
>   

ResetCDR() works! 

Thank you very much!

-- 
Jian Gao
IT Technician
SJ Geophysics Ltd. <http://www.sjgeophysics.com>
jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com>
Tel: (604)582-1100



More information about the asterisk-users mailing list