<br><br><div class="gmail_quote">2010/6/22 Deepesh D <span dir="ltr"><<a href="mailto:deep.d2010@gmail.com">deep.d2010@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I have the following dialplan<br><br>exten => _X.,1,Set(CDR(userfield)=test)<br>exten => _X.,n,Do some checks and hangup if checks fail<br>exten => _X.,n,Dial(SIP/${EXTEN})<br>exten => _X.,n,Hangup<br>
<br>1. If the Dial fails with a busy, noanswer or congestion then a cdr is generated.<br>2. If the call fails before Dial (if the checks fail) then no cdr is generated.<br><br>I would like to generate a cdr in the second case also. Is there a way to do this?<br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>Have you tried with an h priority ?<br>