[asterisk-bugs] [Asterisk 0014025]: sip register: reserved character check not RFC 3261 compliant

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 9 07:51:20 CST 2008


The following issue has been set as RELATED TO issue 0013783. 
====================================================================== 
http://bugs.digium.com/view.php?id=14025 
====================================================================== 
Reported By:                ffs
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14025
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 161411 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-05 12:36 CST
Last Modified:              2008-12-09 07:51 CST
====================================================================== 
Summary:                    sip register: reserved character check not RFC 3261
compliant
Description: 
The checking of reserved characters within chan_sip.c is not RFC 3261
compliant.

According to the RFC there are different reserved characters for username
(* auth user), user (* username), password (* secret) and hostname (see
below).
chan_sip compares all above values against the SIP_RESERVED variable which
is defined as ";/?:@&=+$,# ".

This bug avoids registration to sip providers using allowed special
characters within the user part or the authentication user (eg.
bluesip.net, they use a '/' wihtin the auth user).

A backport to the 1.6.0 branch, which is affected also, would be great.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013329 Outgoing Proxy on SIP Register
related to          0013783 [patch] Cannot register with sip provid...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-09 07:51 blitzrage      Relationship added       related to 0013783  
======================================================================




More information about the asterisk-bugs mailing list