[asterisk-bugs] [Asterisk 0013385]: [patch] Reason header support

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 10:03:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13385 
====================================================================== 
Reported By:                adomjan
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13385
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 139982 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-27 10:40 CDT
Last Modified:              2009-10-21 10:03 CDT
====================================================================== 
Summary:                    [patch] Reason header support
Description: 
Cisco GWs use this header, however it is only a rfc draft.

draft-jesske-sipping-etsi-ngn-reason-03.txt

just set:
use_q850_reason=yes 
in sip peer/user configuration and chan_sip.c will insert
Reason: Q.850;cause=17
header.
If the peer send Reason header will be used instead of
hangup_sip2cause().


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
child of            0014294 [patch] X-Asterisk-Hangupcause header ...
====================================================================== 

---------------------------------------------------------------------- 
 (0112535) mnicholson (administrator) - 2009-10-21 10:03
 https://issues.asterisk.org/view.php?id=13385#c112535 
---------------------------------------------------------------------- 
After reviewing the patch, I am curious why the 'hangupcause' parameter was
added to transmit_response_reliable.  It looks like that parameter is only
set to p->hangupcause or 0.  Would it be possible to just use the
p->hangupcause pvt member  in __transmit_response() directly? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 10:03 mnicholson     Note Added: 0112535                          
======================================================================




More information about the asterisk-bugs mailing list