[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
Fri Aug 21 17:25:21 CDT 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 
Regression:                 No 
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-08-21 17:25 CDT
====================================================================== 
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

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

---------------------------------------------------------------------- 
 (0109495) svnbot (reporter) - 2009-08-21 17:25
 https://issues.asterisk.org/view.php?id=15539#c109495 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213724

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r213724 | dvossel | 2009-08-21 17:25:21 -0500 (Fri, 21 Aug 2009) | 16
lines

Merged revisions 213716 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r213716 | dvossel | 2009-08-21 17:22:11 -0500 (Fri, 21 Aug 2009) | 10
lines
  
  Register request line contains wrong address when user domain and
register host differ
  
  (closes issue https://issues.asterisk.org/view.php?id=15539)
  Reported by: Nick_Lewis
  Patches:
        chan_sip.c-registraraddr.patch uploaded by Nick (license 657)
        register_domain_fix_1.6.2 uploaded by dvossel (license 671)
  Tested by: Nick_Lewis, dvossel
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-21 17:25 svnbot         Checkin                                      
2009-08-21 17:25 svnbot         Note Added: 0109495                          
======================================================================




More information about the asterisk-bugs mailing list