[asterisk-bugs] [Asterisk 0014198]: [patch] Not possible to register to a registrar via a host with different port number
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jan 13 15:19:02 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14198
======================================================================
Reported By: Nick_Lewis
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 14198
Category: Channels/chan_sip/Registration
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Asterisk Version: 1.6.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-08 08:51 CST
Last Modified: 2009-01-13 15:19 CST
======================================================================
Summary: [patch] Not possible to register to a registrar via
a host with different port number
Description:
It is currently possible to register to a registrar indirectly via a host
using an extended format of the registration string
[transport://]user[:secret[:authuser]]@host[:port][/contact][~expiry]
In this extended format the "user" portion is expanded to
"username at domain". In this case the registration packet is sent to the
address of the "host" but the request line uri indicates that the registrar
is at the address of the "domain". This works fine as long as default port
numbers are used
However if the host includes a "port" other than 5060 then the request
line uri also contains this port even though the registrar may be on a
different port number or on the standard port
There needs to be a way in the registration string to specify the port of
the registar too e.g. "user" expand to "username at domain:domainport"
======================================================================
----------------------------------------------------------------------
(0097649) svnbot (reporter) - 2009-01-13 15:19
http://bugs.digium.com/view.php?id=14198#c97649
----------------------------------------------------------------------
Repository: asterisk
Revision: 168576
_U branches/1.6.1/
------------------------------------------------------------------------
r168576 | mmichelson | 2009-01-13 15:19:01 -0600 (Tue, 13 Jan 2009) | 20
lines
Blocked revisions 168575 via svnmerge
........
r168575 | mmichelson | 2009-01-13 15:18:13 -0600 (Tue, 13 Jan 2009) | 13
lines
Allow specifying a port number in the user portion of a register => line
in sip.conf
With this commit, a register => line in sip.conf may contain a port number
in the
"user" section of the line. Please see CHANGES and sip.conf.sample for
more
details regarding this.
(closes issue http://bugs.digium.com/view.php?id=14198)
Reported by: Nick_Lewis
Patches:
chan_sip.c-domainport2.patch uploaded by Nick (license 657)
Tested by: Nick_Lewis
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=168576
Issue History
Date Modified Username Field Change
======================================================================
2009-01-13 15:19 svnbot Checkin
2009-01-13 15:19 svnbot Note Added: 0097649
======================================================================
More information about the asterisk-bugs
mailing list