[asterisk-users] Hangup Cause and SIP Response Code

Kevin P. Fleming kpfleming at digium.com
Wed Apr 25 16:04:28 CDT 2012

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

More information about the asterisk-users mailing list