FreePBX GUI Slow

I set up an Asterisk and FreePBX setup on Ubuntu Server 9.10 using this install script:

Everything was working great until I had to change my trunk with Broad Voice around, and now the GUI is really slow.

Trunk Name:
Peer Details:
fromuser=[phone number]
secret=[weird password]
user=[phone number]
username=[phone number]

Register String:
[phone num]:[weird pass][phone number]

In my Hosts file, is set to the ip address of

Calls and everything work, but FreePBX is reporting everything in a warning or error on the status page and it takes forever for it to load.

Any help is greatly appreciated.


try disabling the broadvoice trunk and see if it goes back to normal. If so, there may be an issue with your DNS server.

Asterisk goes a little crazy if it has problems resolving an address which can result in your described behavior and many other problems.

I commented out the proxy line in the hosts file, restarted, and FreePBX is still slow. The phones and everything are working properly though.

Waiting for the FreePBX trunks page to load to disable the trunk.


I got to the BroadVoice trunk, checked Disable, saved the settings, but after clicking Reload I get:

Reload failed because FreePBX could not connect to the asterisk manager interface.

exit: 0

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = [password]
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = [password]
Notice: no Queues defined
Notice: no Conferences defined
Notice: no Parking Lots defined
Notice: no iax trunks defined
Notice: no AMP Users defined
Please update your modules and reload Asterisk by visiting

1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

On the Notification secition, I get
retrieve_conf failed, config not applied
Reload failed because FreePBX could not connect to the asterisk manager interface.
Added 2 minutes ago


Did you by accident remove the “localhost” entry in the hosts file. I’ve seen programs absolutely go crazy in that gets removed or corrupted.


Yup, that was the problem.

It’s always something dumb.

Thanks for the help, and 73.


Hi Eddie:

Guess the folks are wondering what the “73” is. We could always send messages back andforth in “Hamspeak”. Like…QTH?.

Anyway, I’ve chased that rabbit in the host file once or twice myself, but not aith an FreePBX/Asterisk system. I killed our Police Department’s Records Management System after adding some terminals in /etc/hosts. Took half a day to figure out what I had done. I guess I was too agressive with the “D” key in VI.

Good Luck & 73 OM