[asterisk-bugs] [Asterisk-GUI 0010545]: Cannot add SIP/IAX2 service provider

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Aug 25 13:34:42 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10545 
====================================================================== 
Reported By:                Per4merKC
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   10545
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 80240 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-24-2007 00:31 CDT
Last Modified:              08-25-2007 13:34 CDT
====================================================================== 
Summary:                    Cannot add SIP/IAX2 service provider
Description: 
Trying to add a service provider results in an alert stating: "Sorry, an
entry named trunk_1 already exists!"

The alert message does NOT appear on the first clicking of the "Save"
button; however, the first click does not submit the form.  Note that there
is an error reported on the page.  (see in steps below)

Steps to reproduce:
1) Log into the Asterisk-GUI
2) Click "Service Providers"
3) I don't currently have any so the list shows: A Service Provider is not
defined Please click on the 'Add Service Provider' button to add a service
provider
4) Click the "Add Service Provider" button
5) Select "Custom VoIP"
6) Enter information for the service provider:
       Comment: FWD-852404
       Protocol: SIP
       Register: (checked)
       Host: fwd.pulver.com
       Username: 852404
       Password: SECRET
7) Click the "Save" button.

At this point the page does not submt and there is an error being reported
for the page:
       Line: 1671
       Char: 7
       Error: Object doesn't support this property or method.
       Code: 0
       URL: http://192.168.0.7:8088/asterisk/static/config/cfgbasic.html

8) Click the "Save" button a second time (to retry) and an alert is
displayed:
Sorry, an entry named trunk_1 already exists!
====================================================================== 

---------------------------------------------------------------------- 
 bkruse - 08-25-07 13:34  
---------------------------------------------------------------------- 
This is def a bug, good bug report.

Could you do me a favor (if you dont mind) and delete your asterisk
configs, and reinstall the gui.

eg

rm -rf /etc/asterisk/*.conf

go into the asterisk source directory and type 'make samples'
go into the asterisk gui source directory and type 'make samples'

then, instead of going to cfgbasic.html, go to setup/install.html and run
through that.

Just to make sure, I am having some problems with finding older trunks
that do not exist in users.conf, but exist in extensions.conf.

Thanks!

-bk 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-25-07 13:34  bkruse         Note Added: 0069419                          
======================================================================




More information about the asterisk-bugs mailing list