[asterisk-bugs] [Asterisk-GUI 0013497]: Cannot add multiple trunks with same username using version 2.0 of GUI

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 16 22:02:56 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13497 
====================================================================== 
Reported By:                dkerr
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13497
Category:                   Service Providers/Trunks
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-16 15:50 CDT
Last Modified:              2008-09-16 22:02 CDT
====================================================================== 
Summary:                    Cannot add multiple trunks with same username using
version 2.0 of GUI
Description: 
The new GUI uses the "username" field to set the context names in
users.conf and extensions.conf while the old GUI used the "trunkname". 
This change was implemented because of AA50-2113.  However I believe that
this change is flawed in both theory and implementation.  See exchange in
lists.digium.com attached below...
====================================================================== 

---------------------------------------------------------------------- 
 (0092600) dkerr (reporter) - 2008-09-16 22:02
 http://bugs.digium.com/view.php?id=13497#c92600 
---------------------------------------------------------------------- 
Pari,
  I changed the pbx.js file as you recommended.  This does not revert back
to the "version 1" GUI behavior as I had hoped, rather it behaves as
documented in the bug you cited.... "trunk_1" etc.  This breaks service
providers that requre asterisk to match the incoming call with the context
name.  In the case of the first bug report that needed to be the username.
In the case of my service provider, it needs to be the trunkname
("vitel-inbound" for vitelity.net).

Bottom line, you need to revert to GUI version 1 behavior (using the
trunkname) or add a new field for the user to enter a context name. 
Generating one automatically isn't going to work with some service
providers. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-16 22:02 dkerr          Note Added: 0092600                          
======================================================================




More information about the asterisk-bugs mailing list