FOP2 Test connection fail

  1. 11 years ago

    Hello, I'm trying to install the demo of fop2 and I have a problem.
    When fop is trying to test connection, there is a message appears

    Error Message: Login Failed to Asterisk (bad auth) at 127.0.0.1:5038. Check your manager credentials!

    I double checked manager username and password, everything seems to be okay. AMI is enabled.
    Here's manager.conf and fop2.cfg:

    [general]
    enabled = yes
    port = 5038
    bindaddr = 127.0.0.1
    displayconnects=no ;only effects 1.6+
    
    [user]
    secret = pass
    deny =0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.0
    permit = 46.38.51.140/255.255.255.0
    read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
    writetimeout = 5000
    ; AMI definitions
    manager_host= 127.0.0.1
    manager_port= 5038
    manager_user= user
    managaer_secret= pass
    ;event_mask=agent,call,command,system,user,dialplan
    
    ; Daemon definitios
    ;listen_port      = 4445
    ;restrict_host    = www.asternic.org
    ;web_dir          = /var/www/html/panel
    
    ; Global Config
    poll_interval      = 86400
    poll_voicemail     = 1
    monitor_ipaddress  = 0

    I'm currently running FreePBX v2.11.0.11 on CentOS 6.4 x86_64

    What am I doing wrong? Ty.

  2. admin

    26 Oct 2013 Administrator

    You have:

    managaer_secret = xxxx

    instead of

    manager_secret = xxxx

  3. Yea, already found it ;)
    Anyway, thank you.

or Sign Up to reply!