[asterisk-bugs] [Asterisk 0018686]: [patch] Wrong country code identifier "%2B" instead of "+" in Remote-Party-ID

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 6 14:35:32 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18686 
====================================================================== 
Reported By:                wolfgang
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   18686
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.2.3 
JIRA:                       SWP-3017 
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:             2011-01-27 02:16 CST
Last Modified:              2011-05-06 14:35 CDT
====================================================================== 
Summary:                    [patch] Wrong country code identifier "%2B" instead
of "+" in Remote-Party-ID
Description: 
Starting with version 1.8.x Asterisk is delivering a wrong prefix "%2B"
instead of "+" in Remote-Part-ID as shown in the folowing trace snapshot
(some fields replaced by xxxxxxxxxxx for privacy reasons):

From: "xxxxxxxxxxxx" <sip:+498421931296 at 141.78.x.x>;tag=as1cb29c87
To: <sip:+49xxxxxxxxxx at 193.174.x.x>
Contact: <sip:+498421931296 at 141.78.x.x:5060>
Call-ID: 1aa82f9a655bd20a5a0038a95b06aa00 at 141.78.x.x:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.8.1
Date: Wed, 26 Jan 2011 07:09:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
Remote-Party-ID: "xxxxxxxxxxxxxxxxxx"
<sip:%2B498421931296 at 141.78.x.x>;party=calling;privacy=off;screen=yes
Content-Type: application/sdp
Content-Length: 173

The call is rejected by Deutsche Telekom host with the error message
"Got SIP response 500 "Internal Server Error" back from
193.174.1.234:5060"

This phenomenon first observed with Asterisk 1.8.1 was reproducable also
with Asterisk 1.8.2.2.

This is my first Asterisk bug report; please apologize any deficiencies.

====================================================================== 

---------------------------------------------------------------------- 
 (0134593) svnbot (reporter) - 2011-05-06 14:35
 https://issues.asterisk.org/view.php?id=18686#c134593 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 317862

_U  trunk/

------------------------------------------------------------------------
r317862 | russell | 2011-05-06 14:35:31 -0500 (Fri, 06 May 2011) | 17
lines

Blocked revisions 317861 via svnmerge

........
  r317861 | russell | 2011-05-06 14:35:00 -0500 (Fri, 06 May 2011) | 11
lines
  
  URI encode less characters in the RPID and Contact headers.
  
  If this change causes any problems, we will need to backport the more
extensive
  uri encoding and decoding handling changes that are in trunk/1.10.
  
  (closes issue https://issues.asterisk.org/view.php?id=18686)
  Reported by: wolfgang
  Patches:
        quick-and-dirty.patch uploaded by wdoekes (license 717)
  Tested by: wdoekes, devellow, wolfgang, mav3rick
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-06 14:35 svnbot         Checkin                                      
2011-05-06 14:35 svnbot         Note Added: 0134593                          
======================================================================




More information about the asterisk-bugs mailing list