[asterisk-bugs] [Asterisk 0015539]: [patch] Register request line contains wrong address when domain and registrar host differ

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 15 12:44:19 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15539 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15539
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-20 12:00 CDT
Last Modified:              2009-12-15 12:44 CST
====================================================================== 
Summary:                    [patch] Register request line contains wrong address
when domain and registrar host differ
Description: 
If sip.conf contains a register string of the form []user at domain[]@host[]
then the address in the sip register request line is the domain even though
the request is sent to the host.

For example myself at sip.me.net@registrar.me.net results in
   REGISTER sip.me.net SIP/2.0
instead of
   REGISTER registrar.me.net SIP/2.0

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

---------------------------------------------------------------------- 
 (0115288) svnbot (reporter) - 2009-12-15 12:44
 https://issues.asterisk.org/view.php?id=15539#c115288 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 235133

_U  branches/1.6.2/

------------------------------------------------------------------------
r235133 | dvossel | 2009-12-15 12:44:18 -0600 (Tue, 15 Dec 2009) | 19
lines

Blocked revisions 235132 via svnmerge

........
  r235132 | dvossel | 2009-12-15 12:43:06 -0600 (Tue, 15 Dec 2009) | 14
lines
  
  reverse minor sip registration regression
  
  A registration regression caused by a code tweak in (issue
https://issues.asterisk.org/view.php?id=14331)
  and a bug fix in (issue https://issues.asterisk.org/view.php?id=15539) caused
some sip registration
  config entries to be constructed incorrectly.  Origially
  issue https://issues.asterisk.org/view.php?id=14331 contained the code tweak
as well as a bug fix, but since
  the issue was reported as a tweak the bug fix portion was moved into
  issue https://issues.asterisk.org/view.php?id=15539.  Both the tweak and the
bug fix contained minor incorrect
  logic that resulted in some SIP registrations to fail.
  
  (issue https://issues.asterisk.org/view.php?id=14331)
  (issue https://issues.asterisk.org/view.php?id=15539)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-15 12:44 svnbot         Checkin                                      
2009-12-15 12:44 svnbot         Note Added: 0115288                          
======================================================================




More information about the asterisk-bugs mailing list