[asterisk-users] Generate cdr on Hangup
Olivier
oza_4h07 at yahoo.fr
Tue Jun 22 01:16:46 CDT 2010
2010/6/22 Deepesh D <deep.d2010 at gmail.com>
> 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
>
Have you tried with an h priority ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100622/400019d4/attachment.htm
More information about the asterisk-users
mailing list