[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 11:02:42 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
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 11:02 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
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 11:02  file           Summary                  Registration when using
fromuser at fromdomain:pass at host is incomplete => [patch] Registration when using
fromuser at fromdomain:pass at host is incomplete
======================================================================




More information about the asterisk-bugs mailing list