./fop2_server --test error

I am using Elastix 1.3 and installed FOP2 with a license.

ERROR 1146 (42S02) at line 1: Table 'asterisk.queues_config' doesn't exist
Manager authentication failed. Check credentials!

I have follow the how to from the Elastixconnetion.

Comments

  • 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.

    Best regards,
  • I still get this error "Manager authentication failed. Check credentials!"
  • Also before the change I was able to login at fop2 and now I can not login.
  • 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

    ; 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
  • Again: You are using the incorrect user, incorrect passowrd, or incorrect host.

    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 ?
Sign In or Register to comment.