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


-- 
_____________________________________________________________________
-- 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