[asterisk-bugs] [Asterisk 0014954]: Trunk registration / Auth user

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 27 15:17:00 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14954 
====================================================================== 
Reported By:                tornblad
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14954
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.0-rc5 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-23 00:59 CDT
Last Modified:              2009-04-27 15:17 CDT
====================================================================== 
Summary:                    Trunk registration / Auth user
Description: 
When using Asterisk GUI 2.0 to create a Trunk it adds the following lines
to users.conf

[internetcalls.com]
host = sip.internetcalls.com
username = XXXXXXXXXX
secret = XXXXXXXXXX
authuser = XXXXXXXXXXXX
trunkname = internetcalls.com
context = DID_internetcalls.com
group = null
hasexten = no
hasiax = no
hassip = yes
registeriax = no
registersip = yes
trunkstyle = voip
disallow = all
allow = all

but when registering the AUTHUSER parameter is not passed when registering
this way. Changing to REGISTERSIP = NO and adding a REGISTER =>
XXXX:XXXX:XXXX at sip.internetcalls.com works fine.

The same problem in 1.6.1 RCs and in 1.6.0.x

Best solution should be to add all parameters that might be needed....

register =>
[transport://]user[:secret[:authuser]]@host[:port][/extension]

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

---------------------------------------------------------------------- 
 (0103849) awk (manager) - 2009-04-27 15:17
 http://bugs.digium.com/view.php?id=14954#c103849 
---------------------------------------------------------------------- 
Talked with mmichelson,
chan_sip.c was not even reading authuser from users.conf. mmichelson is
updating chan_sip to correct this issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-27 15:17 awk            Note Added: 0103849                          
2009-04-27 15:17 awk            Assigned To              awk => mmichelson   
======================================================================




More information about the asterisk-bugs mailing list