[asterisk-bugs] [Asterisk 0013783]: [patch] Cannot register with sip providers that require '@' in the username

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 10:24:52 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13783 
====================================================================== 
Reported By:                navkumar
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13783
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-25 12:44 CDT
Last Modified:              2008-12-10 10:24 CST
====================================================================== 
Summary:                    [patch] Cannot register with sip providers that
require '@' in the username
Description: 
With 1.4.22, you cannot have a registration line like the following:

register=>7123231 at sip.host.com:1234223:7123231 at sip.proxy.net/7123231

I believe there was an issue (http://bugs.digium.com/view.php?id=13570) where a
patch was committed to not
allowing 'reserved' characters; however, looking at the patch and the svn
diff, I saw that it must have guessed the first '@' is reserved; however,
this registration is perfectly valid for many sip providers.  It is how you
register with particular sip hosts using a full URI instead of using a
simple host name, as well as how you register through outbound proxies. 
This kind of register line is absolutely necessary though several sip
providers.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014025 sip register: reserved character check ...
related to          0013570 [patch] Malformed registration line is ...
has duplicate       0013329 Outgoing Proxy on SIP Register
====================================================================== 

---------------------------------------------------------------------- 
 (0096094) svnbot (reporter) - 2008-12-10 10:24
 http://bugs.digium.com/view.php?id=13783#c96094 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 162663

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r162663 | mmichelson | 2008-12-10 10:24:51 -0600 (Wed, 10 Dec 2008) | 11
lines

Revert fix for issue 13570. It has caused more problems than
it helped to fix.

(closes issue http://bugs.digium.com/view.php?id=13783)
Reported by: navkumar


(closes issue http://bugs.digium.com/view.php?id=14025)
Reported by: ffs


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 10:24 svnbot         Checkin                                      
2008-12-10 10:24 svnbot         Note Added: 0096094                          
======================================================================




More information about the asterisk-bugs mailing list