[asterisk-bugs] [Asterisk 0013385]: [patch] Reason header support
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jan 29 03:17:17 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-29 03:17 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 ...
======================================================================
----------------------------------------------------------------------
(0099024) svnbot (reporter) - 2009-01-29 03:17
http://bugs.digium.com/view.php?id=13385#c99024
----------------------------------------------------------------------
Repository: asterisk
Revision: 172173
_U trunk/
U trunk/channels/chan_sip.c
------------------------------------------------------------------------
r172173 | oej | 2009-01-29 03:17:16 -0600 (Thu, 29 Jan 2009) | 24 lines
Merged revisions 172169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r172169 | oej | 2009-01-29 09:48:18 +0100 (Tor, 29 Jan 2009) | 16 lines
Make sure that we always add the hangupcause headers. In some cases, the
owner was disconnected before we checked for the cause.
This patch implements a temporary storage in the pvt and use that instead.
The code is based on ideas from code from Adomjan in issue
http://bugs.digium.com/view.php?id=13385 (Add
support for Reason: header)
Thanks to Klaus Darillion for testing!
(closes issue http://bugs.digium.com/view.php?id=14294)
related to issue http://bugs.digium.com/view.php?id=13385
Reported by: klaus3000 and adomjan
Patches:
bug14294b.diff uploaded by oej (license 306)
Based on 20080829_chan_sip.c-q850reason_header.patch uploaded by
adomjan (license 487)
Tested by: oej, klaus3000
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=172173
Issue History
Date Modified Username Field Change
======================================================================
2009-01-29 03:17 svnbot Checkin
2009-01-29 03:17 svnbot Note Added: 0099024
======================================================================
More information about the asterisk-bugs
mailing list