[asterisk-bugs] [Asterisk 0014350]: [patch] Asterisk does not detect an attended transfer if the 'Replaces=' option is not at the beginning of the query string

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 6 11:14:16 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14350 
====================================================================== 
Reported By:                fhackenberger
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14350
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.17 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 17:31 CST
Last Modified:              2009-02-06 11:14 CST
====================================================================== 
Summary:                    [patch] Asterisk does not detect an attended
transfer if the 'Replaces=' option is not at the beginning of the query string
Description: 
Asterisk does not detect an attended transfer if the 'Replaces=' option is
not at the beginning of the query string of the Refer-To header.
Example:
Refer-To:
<sip:6001 at hacki-mobile:5060?Require=replaces&Replaces=9ccf51d5-349c-4064-9428-b4c94cb73ece%3Bto-tag%3Das2578745e%3Bfrom-tag%3Dd8e9bba0-a205-40f6-b8bf-daaddc6557ce>
Result:
Asterisk does not detect an attended transfer (wrong)

Refer-To:
<sip:6001 at hacki-mobile:5060?Replaces=9ccf51d5-349c-4064-9428-b4c94cb73ece%3Bto-tag%3Das2578745e%3Bfrom-tag%3Dd8e9bba0-a205-40f6-b8bf-daaddc6557ce>
Result:
Asterisk does detect an attended transfer
====================================================================== 

---------------------------------------------------------------------- 
 (0099619) svnbot (reporter) - 2009-02-06 11:14
 http://bugs.digium.com/view.php?id=14350#c99619 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 173967

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r173967 | file | 2009-02-06 11:14:15 -0600 (Fri, 06 Feb 2009) | 4 lines

Some clients do not put the call-id for replaces at the beginning, so
support it being anywhere in the string.
(closes issue http://bugs.digium.com/view.php?id=14350)
Reported by: fhackenberger

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=173967 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-06 11:14 svnbot         Note Added: 0099619                          
======================================================================




More information about the asterisk-bugs mailing list