[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
Tue Jul 1 09:52:26 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: 07-01-2008 09:52 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
======================================================================
----------------------------------------------------------------------
svnbot - 07-01-08 09:52
----------------------------------------------------------------------
Repository: asterisk
Revision: 126902
U branches/1.4/channels/chan_sip.c
------------------------------------------------------------------------
r126902 | oej | 2008-07-01 09:52:15 -0500 (Tue, 01 Jul 2008) | 7 lines
Use domain part of SIP uri in register= configuration as fromdomain.
Reported by: one47
Patches:
sip-reg-fromdom2.dpatch uploaded by one47 (license 23)
(closes issue http://bugs.digium.com/view.php?id=12474)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=126902
Issue History
Date Modified Username Field Change
======================================================================
07-01-08 09:52 svnbot Note Added: 0089511
======================================================================
More information about the asterisk-bugs
mailing list