[Home]

Summary:ASTERISK-13482: Description of registration string in sip.conf.sample is incorrect
Reporter:nick_lewis (nick_lewis)Labels:
Date Opened:2009-01-29 12:14:40.000-0600Date Closed:2009-06-02 08:51:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The format of the registration string is described in sip.conf.sample (and also recently in log messages) as

register => [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry]

The "@domain" portion is incorrect. It must instead be "@host". If a domain is to be used then the format is currently

register => [transport://]username@domain[:secret[:authuser]]@host[:port][/extension][~expiry]

The @host must be a fully qualified domain name or ip address whereas the @domain can be a root zone domain (as used in the AOR)

An example of @domain is "sizko.com" whereas an example of @host is "registrar1.voipservers.sizko.com"

There may be an AOR of "bobroberts@sizko.com" but the registration request is sent to "registrar1.voipservers.sizko.com"
Comments:By: Leif Madsen (lmadsen) 2009-02-11 16:02:10.000-0600

This applies to the 1.6.1 branch, and not just trunk right?

(Does this also apply to 1.6.0?)

By: Leif Madsen (lmadsen) 2009-02-11 16:03:51.000-0600

Actually, I'm going to reassign this to oej as he can probably tell quite quickly if this is accurate. Feel free to reassign back to me as I can commit the change if you wish oej.

Thanks!

By: Leif Madsen (lmadsen) 2009-04-01 19:37:39

Ping! :)

By: Digium Subversion (svnbot) 2009-06-02 08:48:08

Repository: asterisk
Revision: 198791

U   trunk/channels/chan_sip.c
U   trunk/configs/sip.conf.sample

------------------------------------------------------------------------
r198791 | file | 2009-06-02 08:48:07 -0500 (Tue, 02 Jun 2009) | 5 lines

Correct documentation for the register line, specifically where the domain should be specified.

(closes issue ASTERISK-13482)
Reported by: Nick_Lewis

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198791

By: Digium Subversion (svnbot) 2009-06-02 08:49:25

Repository: asterisk
Revision: 198792

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c
U   branches/1.6.0/configs/sip.conf.sample

------------------------------------------------------------------------
r198792 | file | 2009-06-02 08:49:25 -0500 (Tue, 02 Jun 2009) | 12 lines

Merged revisions 198791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines
 
 Correct documentation for the register line, specifically where the domain should be specified.
 
 (closes issue ASTERISK-13482)
 Reported by: Nick_Lewis
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198792

By: Digium Subversion (svnbot) 2009-06-02 08:50:22

Repository: asterisk
Revision: 198793

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c
U   branches/1.6.1/configs/sip.conf.sample

------------------------------------------------------------------------
r198793 | file | 2009-06-02 08:50:22 -0500 (Tue, 02 Jun 2009) | 12 lines

Merged revisions 198791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines
 
 Correct documentation for the register line, specifically where the domain should be specified.
 
 (closes issue ASTERISK-13482)
 Reported by: Nick_Lewis
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198793

By: Digium Subversion (svnbot) 2009-06-02 08:51:15

Repository: asterisk
Revision: 198794

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c
U   branches/1.6.2/configs/sip.conf.sample

------------------------------------------------------------------------
r198794 | file | 2009-06-02 08:51:15 -0500 (Tue, 02 Jun 2009) | 12 lines

Merged revisions 198791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines
 
 Correct documentation for the register line, specifically where the domain should be specified.
 
 (closes issue ASTERISK-13482)
 Reported by: Nick_Lewis
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198794