[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
Mon Jan 25 05:51:25 CST 2010


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:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-20 12:00 CDT
Last Modified:              2010-01-25 05:51 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

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

---------------------------------------------------------------------- 
 (0117127) Nick_Lewis (reporter) - 2010-01-25 05:51
 https://issues.asterisk.org/view.php?id=15539#c117127 
---------------------------------------------------------------------- 
The code reversal was carried out because of an unspecified "minor
incorrect logic that resulted in some SIP registrations to fail"

What was the incorrect logic and could I please have an example of a
registration string that fails as a result. I will then produce a patch
that fixes the subject of this ticket without the adverse effect 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-25 05:51 Nick_Lewis     Note Added: 0117127                          
======================================================================




More information about the asterisk-bugs mailing list