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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 30 05:48:29 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13385 
====================================================================== 
Reported By:                adomjan
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   13385
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 139982 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-27 10:40 CDT
Last Modified:              2009-01-30 05:48 CST
====================================================================== 
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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0099120) adomjan (reporter) - 2009-01-30 05:48
 http://bugs.digium.com/view.php?id=13385#c99120 
---------------------------------------------------------------------- 
Hi,
I produce a patch, but not complete
I worked on current trunk.

problems:

- If in the called dialplan I put only like: Hangup(57); won't be sent the
reason code...
- If in the called dialplan I put only Busy() won't be sent the reason
code

- If the call answered, and hangup by any cause code, the cause code will
be sent, but on the caller side allways will be 16

Will you fix around it, or may I modify the chan_sip deeper? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-30 05:48 adomjan        Note Added: 0099120                          
======================================================================




More information about the asterisk-bugs mailing list