I am dying here. I have addedd all the pertinant config files I think… I have followed every link off google, digium, freepbx, and piaf I could find. Nothing… Thanks for reading…
Errors on page…
Reload failed because retrieve_conf encountered an error: 1
Added 37 seconds ago
(freepbx.RCONFFAIL)
Failed to connect to the Asterisk manager through port: 5038
Added 37 seconds ago
(retrieve_conf.FATAL)
When I try to apply changes (updates) this is what I am getting…
exit: 1
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…Wed, 17 Jun 2009 01:13:43 -0400 - Failed to login.
FAILED
[FATAL] Asterisk Manager Connection Failure Failed to connect to the Asterisk manager through port: 5038
1 error(s) occured, you should view the notification log on the dashboard or main screen to check for more details.
here is some of my config
PBX in a Flash Version 1.2 Daemon Status
- Asterisk * ONLINE * Zaptel * OFFLINE * MySQL * ONLINE *
- SSH * ONLINE * Apache * ONLINE * Iptables * OFFLINE *
- Fail2ban * ONLINE * IP Connect* ONLINE * Ip6tables * OFFLINE *
- BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
- Sendmail * ONLINE * Samba * OFFLINE * Webmin * ONLINE *
- Ethernet0 * ONLINE * Ethernet1 * N/A * Wlan0 * N/A *
- Running Asterisk Version : Asterisk 1.4.21.2
- Asterisk Source Version : 1.4.21.2
- Zaptel Source Version : 1.4.12.1
- Libpri Source Version : 1.4.10
- Addons Source Version : 1.4.7
phones.thenetworkmanagers.local on 192.168.248.247 - eth0
CentOS release 5.3 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5
root@phones:/var/www/html/panel $
manager_conf
;
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[maint]
secret = changed
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
#include manager_additional.conf
#include manager_custom.conf
amportal.conf
This file contains settings for components of the Asterisk Management Portal
Spaces are not allowed!
Run /usr/src/AMP/apply_conf.sh after making changes to this file
AMPDBHOST: the host to connect to the database named ‘asterisk’
AMPDBHOST=127.0.0.1
AMPDBUSER: the user to connect to the database named ‘asterisk’
AMPDBUSER=asteriskuser
AMPDBENGINE: the type of database to use
AMPDBENGINE=mysql
AMPDBPASS: the password for AMPDBUSER
AMPDBPASS=amp109
AMPENGINE: the telephony backend engine to use
AMPENGINE=asterisk
AMPDBENGINE: the type of database to use
AMPDBENGINE=mysql
AMPDBPASS: the password for AMPDBUSER
AMPDBPASS=amp109
AMPENGINE: the telephony backend engine to use
AMPENGINE=asterisk
AMPMGRUSER: the user to access the Asterisk manager interface
AMPMGRUSER=maint
AMPMGRPASS=changed
op_server.conf
; NOTE
;
; In this config file, the following entries will be IGNORED, in
; favour of the values set in /etc/amportal.conf (but do not
; comment them !):
; manager_user, manager_secret, web_hostname, security_code, flash_dir
[general]
use_amportal_conf=1
; host or ip address of asterisk
manager_host=127.0.0.1
; user and secret for connecting to * manager
manager_user=maint
manager_secret=changed
; The optional event_mask for filtering manager events.
; Asterisk will send only the events you request