Once the call is hung up it is too late. I need to interpret the SIP response codes prior to hangup so I can play an appropriate recorded voice announcement.<br><br><br><div><span class="gmail_quote">On 4/9/07, <b class="gmail_sendername">
Eric ManxPower Wieling</b> <<a href="mailto:eric@fnords.org">eric@fnords.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Eric Bishop wrote:<br>> Hi all,<br>><br>> I want to implement certain actions based on SIP response codes. Is there a<br>> similar variable such as ${DIALSTATUS} that comes back with the relevant<br>> SIP<br>
> response code for a call?<br><br>I believe there is SIPGetHeader, but Asterisk tries to translate<br>whatever code it gets from the specific technology (PRI, SIP, IAS2,<br>MGCP, SCCP, H323, etc) into an Asterisk HANGUPCAUSE which is mostly
<br>Q.931 codes. HANGUPCAUSE will not tell you the SIP response code, but<br>it will tell you much more than DIALSTATUS will.<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</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">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>