Hello,

I have the following dialplan

exten => _X.,1,Set(CDR(userfield)=test)
exten => _X.,n,Do some checks and hangup if checks fail
exten => _X.,n,Dial(SIP/${EXTEN})
exten => _X.,n,Hangup

1. If the Dial fails with a busy, noanswer or congestion then a cdr is
generated.
2. If the call fails before Dial (if the checks fail) then no cdr is
generated.

I would like to generate a cdr in the second case also. Is there a way to do
this?
-- 
_____________________________________________________________________
-- 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