Bryant Zimmerman
2012-Apr-25 12:08 UTC
[asterisk-users] Hangup Cause and SIP Response Code
I can log the ISDN cause code using ${HANGUPCAUSE} but I also need to track the actual SIP response code as well. How do I get access to it durring the hangup? Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120425/12391071/attachment-0001.htm>
Kevin P. Fleming
2012-Apr-25 21:04 UTC
[asterisk-users] Hangup Cause and SIP Response Code
On 04/25/2012 07:08 AM, Bryant Zimmerman wrote:> I can log the ISDN cause code using ${HANGUPCAUSE} but I also need to > track the actual SIP response code as well. How do I get access to it > durring the hangup?It's rather hard to answer that question without at least knowing what version of Asterisk you are using. In some versions there is a SIP_CAUSE feature that can be used to extract that information (although this has been reimplemented for Asterisk 11 in a way that doesn't affect performance as much as the old method did). -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org