You have an old freepbx version. Look at the autoconfig-buttons-freepbx.sh script and search for "qeuues_config", you will see two lines performing an sql query, one is commented, the other is not. Reverse the lines so the one that is commented is not, and comment the other one. That query is for older freepbx versions.
If you do not do that fop will still run ok, but you won't see queue buttons.
You are putting the wrong manager user and secret, or your asterisk manager.conf prevents connection from your source ip. Check /etc/asterisk/manager.conf and the manager_user, manager_secrent in fop2.cfg
I follow the how to from elastixconnection and the fop2 config is:
I get the same error "Manager authentication failed. Check credentials!"
[genera[M :/l]
; AMI definitions
manager_host=192.168.1.40
manager_port=5038
manager_user=fop2
manager_secret=fop2secret
;event_mask=call,agent
Comments
If you do not do that fop will still run ok, but you won't see queue buttons.
Best regards,
I get the same error "Manager authentication failed. Check credentials!"
[genera[M :/l]
; AMI definitions
manager_host=192.168.1.40
manager_port=5038
manager_user=fop2
manager_secret=fop2secret
;event_mask=call,agent
; Daemon definitios
;listen_port = 4445
;restrict_host = www.asternic.org
;web_dir = /var/www/html/operator/fop2
; Global Config
language = en
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0
master_key = 1353
; USER LIST
user=110:********:all
;user=621:1234:all
;user=622:1234:all
;user=623:1234all
;buttonfile=buttons.cfg
#exec autoconfig-users-freepbx.sh
What do you have in /etc/asterisk/manager.conf ?
Are you sure you want to connect to 192.168.1.40 and not 127.0.0.1. How does the permit / deny lines look in asterisk's manager.conf ?