[asterisk-bugs] [Asterisk 0016502]: [patch] port in users.conf is not honored in the register statement

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 4 14:23:24 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16502 
====================================================================== 
Reported By:                steinwej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16502
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.20 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-22 14:14 CST
Last Modified:              2010-01-04 14:23 CST
====================================================================== 
Summary:                    [patch] port in users.conf is not honored in the
register statement
Description: 
VoIP provider has SIP port set to 9060

The account for the provider is defined in users.conf as follows:

[testuser]
context = DID_test
host = voipprovider.com
port = 9060
username = testuser
fromuser = testuser
fromdomain = 
secret = verysecret
insecure = no
trunkname = tname
hasiax = no
registeriax = no
hassip = yes
registersip = yes
trunkstyle = voip
hasexten = no
disallow = all
allow = alaw,gsm,adpcm

it is expected that the account testuser registers at voipprovider.com.
But registration fails because * send the REGISTER to the default SIP port
5060



====================================================================== 

---------------------------------------------------------------------- 
 (0115995) lmadsen (administrator) - 2010-01-04 14:23
 https://issues.asterisk.org/view.php?id=16502#c115995 
---------------------------------------------------------------------- 
Is this adding a new feature then, or is this fixing an existing,
undocumented feature?

Regardless, the patch should also include the changes to the
users.conf.sample file as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-04 14:23 lmadsen        Note Added: 0115995                          
======================================================================




More information about the asterisk-bugs mailing list