<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Thanks. I am quite familiar with ngrep. I was asking how I could get the SIP response code from the dial plan.<br><br>Doug.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Rizwan Hisham <rizwanhasham@gmail.com><br>To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><br>Sent: Friday, October 26, 2007 6:18:50 AM<br>Subject: Re: [asterisk-users] Getting SIP Response Code from HANGUPCAUSE<br><br>
I think you can use the 'ngrep' command to see the sip packets coming in using the sip listening port. I dont know the exact command though, you will have to lookit up urself. you will see the sip packets coming into ur system and in those packets you can see the response code.
<br><br><div><span class="gmail_quote">On 10/25/07, <b class="gmail_sendername">Douglas Garstang</b> <<a rel="nofollow" ymailto="mailto:dougmig33@yahoo.com" target="_blank" href="mailto:dougmig33@yahoo.com">dougmig33@yahoo.com</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;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>I'd like to grab the SIP response code that comes back from an INVITE. The HANGUPCAUSE gives the converted ISDN cause code. Anyone know of a way to get the SIP response code instead?
<br><br>Doug.<br><span class="ad"><br></span></div></div><span class="ad"><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br><a rel="nofollow" target="_blank" href="http://mail.yahoo.com">
http://mail.yahoo.com</a> </span></div><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a rel="nofollow" target="_blank" href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a rel="nofollow" target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.<br><a rel="nofollow" target="_blank" href="http://www.axvoice.com">www.axvoice.com
</a>
</div><br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>