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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 9 12:59:19 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14954 
====================================================================== 
Reported By:                tornblad
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14954
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.0-rc5 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-23 00:59 CDT
Last Modified:              2009-10-09 12:59 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]

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

---------------------------------------------------------------------- 
 (0112133) svnbot (reporter) - 2009-10-09 12:59
 https://issues.asterisk.org/view.php?id=14954#c112133 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 223208

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r223208 | dvossel | 2009-10-09 12:59:18 -0500 (Fri, 09 Oct 2009) | 23
lines

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

................
  r223206 | dvossel | 2009-10-09 12:53:37 -0500 (Fri, 09 Oct 2009) | 16
lines
  
  Merged revisions 223205 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r223205 | dvossel | 2009-10-09 12:52:35 -0500 (Fri, 09 Oct 2009) | 10
lines
    
    (closes issue https://issues.asterisk.org/view.php?id=14954)
    Reported by: tornblad
    Tested by: mmichelson, tornblad, dvossel
    fixes sip registration using authuser in user.conf
    
    (closes issue https://issues.asterisk.org/view.php?id=14954)
    Reported by: tornblad
    Tested by: mmichelson, tornblad, dvossel
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-09 12:59 svnbot         Checkin                                      
2009-10-09 12:59 svnbot         Note Added: 0112133                          
======================================================================




More information about the asterisk-bugs mailing list