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/${ext...@${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>
[email protected] <mailto:[email protected]>
Tel: (604)582-1100

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to