Re: [asterisk-users] Generate cdr on Hangup
Yes, generate CDR in h extension, i.e. add the following to your context: exten => h,1,ResetCDR(vw) Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-22 2:25 AM, "Olivier" wrote: 2010/6/22 Deepesh D > > > > Hello, > > > > I have the following dialplan > > > > exten => _X.,1,Set(CDR(userfield)=test) > > exten => ... > -- > _ > -- 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 ? -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Generate cdr on Hangup
2010/6/22 Deepesh D > 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 ? -- _ -- 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
[asterisk-users] Generate cdr on Hangup
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