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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 13:36:57 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 13:36 CDT
====================================================================== 
Summary:                    [patch] 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
====================================================================== 

---------------------------------------------------------------------- 
 oej - 04-18-08 13:36  
---------------------------------------------------------------------- 
Will check this next week or during the weekend. It'll be an Asterisk SIP
week in Orlando :-)

Thank you for your contribution and fix! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 13:36  oej            Note Added: 0085699                          
======================================================================




More information about the asterisk-bugs mailing list