[asterisk-bugs] [Asterisk 0015033]: chan_sip sets PRIREDIRECTREASON incorrectly for reason no-answer
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Oct 9 18:15:11 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15033
======================================================================
Reported By: steinwej
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 15033
Category: Channels/chan_sip/General
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.0.9
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-05-05 04:41 CDT
Last Modified: 2009-10-09 18:15 CDT
======================================================================
Summary: chan_sip sets PRIREDIRECTREASON incorrectly for
reason no-answer
Description:
When a diversion header is received by chan_sip it tries to set the channel
var PRIREDIRECTREASON in sip_set_redirstr(struct sip_pvt *p, char
*reason);
However, the reason "no-answer" is coded as "NOANSWER" but chan_dahdi
expects the PRIREDIRECTREASON "no-answer" as "NO_REPLY".
======================================================================
----------------------------------------------------------------------
(0112179) svnbot (reporter) - 2009-10-09 18:15
https://issues.asterisk.org/view.php?id=15033#c112179
----------------------------------------------------------------------
Repository: asterisk
Revision: 223405
U branches/1.6.1/channels/chan_dahdi.c
U branches/1.6.1/channels/chan_h323.c
------------------------------------------------------------------------
r223405 | jpeeler | 2009-10-09 18:15:10 -0500 (Fri, 09 Oct 2009) | 13
lines
Fix interpretation of PRIREDIRECTIONREASON set by chan_sip.
This commit is the simplest way to solve a problem that has already been
solved
in trunk with the "COLP/CONP and Redirecting party information into
Asterisk"
commit. In trunk the redirection reason is translated into a generic
redirect
reason. I would have had to do the same fix except chan_sip never reads
PRIREDIRECTREASON. So both chan_dahdi and chan_h323 have been modified to
interpret the one different redirect reason of "no-answer" properly and
set the
ISDN reason code 2 of "no reply".
(closes issue https://issues.asterisk.org/view.php?id=15033)
Reported by: steinwej
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=223405
Issue History
Date Modified Username Field Change
======================================================================
2009-10-09 18:15 svnbot Checkin
2009-10-09 18:15 svnbot Note Added: 0112179
======================================================================
More information about the asterisk-bugs
mailing list