[asterisk-bugs] [Asterisk 0012474]: Registration when using fromuser at fromdomain:pass at host is incomplete

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 10:56:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12474 
====================================================================== 
Reported By:                one47
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12474
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-18-2008 09:21 CDT
Last Modified:              04-18-2008 10:56 CDT
====================================================================== 
Summary:                    Registration when using
fromuser at fromdomain:pass at host is incomplete
Description: 
The standard SIP registration line is:
  user[:password[:authuser]]@host[:port][/exten]
which can be extended as
  user[@fromdomain][:password[:authuser]]@host[:port][/exten]

In this 2nd form, sip channel fails to set fromdomain correctly, to the
REGISTER command is sent as
  REGISTER sip:host SIP/2.0
instead of
  REGISTER sip:fromdomain SIP/2.0

This is supported by the existing comments in chan_sip.c
====================================================================== 

---------------------------------------------------------------------- 
 one47 - 04-18-08 10:56  
---------------------------------------------------------------------- 
Fixed a silly mistake in the patch, which is now tested on our 1.2.x rig,
and seems to work exactly as intended. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 10:56  one47          Note Added: 0085694                          
======================================================================




More information about the asterisk-bugs mailing list