127.0.0.1 failed to authenticate as 'fop2'

  1. 7 years ago

    Running Freepbx 13 with Asterisk 11.25 on Centos 6.6.

    I have been getting this error message for a bit on the Asterisk CLI
    NOTICE[5033]: manager.c:2677 authenticate: 127.0.0.1 failed to authenticate as 'fop2'

    I dont know whether a Freepbx update broke the config setup, or whether I changed something and broke it !

    I have tried changing the manager_user and manager_secret back to the FOP settings but that doesnt seem to make a difference.

    Can you point me where else I should be looking

    Thanks in advance

    Here's a snippet from /usr/local/fop2/fop2.cfg
    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    ;manager_user=fop2
    manager_user=admin
    manager_secret=myownsecret
    ;manager_secret=fop222
    ;event_mask=agent,call,command,system,user,dialplan

    --------------------------------------------------------------------------------------------------

    /etc/asterisk/manager.conf
    ;
    ; AMI - Asterisk Manager interface
    ;
    ; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need
    ; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny).
    ; Also, remember to configure non-default port or IP-addresses in amportal.conf.
    ;
    ; The AMI connection is used both by the portal and the operator's panel in FreePBX.
    ;
    ; FreePBX assumes an AMI connection to localhost:5038 by default.
    ;
    [general]
    enabled = yes
    port = 5038
    bindaddr = 127.0.0.1
    displayconnects=no ;only effects 1.6+

    [admin]
    secret = myownsecret
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.0
    read = all
    write = all
    writetimeout = 5000
    eventfilter=!Event: RTCP*
    eventfilter=!Event: VarSet
    eventfilter=!Event: Cdr
    eventfilter=!Event: DTMF
    eventfilter=!Event: AGIExec
    eventfilter=!Event: ExtensionStatus
    eventfilter=!Event: ChannelUpdate
    eventfilter=!Event: ChallengeSent
    eventfilter=!Event: SuccessfulAuth

    [admin]
    secret = myownsecret
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1.255.255.255.0
    read = all
    write = all

    [admin]
    secret = myownsecret
    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,config,command,dtmf,reporting,cdr,dialplan,originate,message
    write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
    writetimeout = 5000

    [admin]
    secret = myownsecret
    deny = 0.0.0.0/0.0.0.0
    permit = 127.0.0.1/255.255.255.0
    read = all
    write = all
    writetimeout = 5000
    eventfilter=!Event: RTCP*
    eventfilter=!Event: VarSet
    eventfilter=!Event: Cdr
    eventfilter=!Event: ExtensionStatus
    eventfilter=!Event: ChannelUpdate

    #include manager_additional.conf
    #include manager_custom.conf

    [admin]
    secret = myownsecret
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    displayconnects = no
    read = system,call,log,verbose,command,agent,user,originate
    write = system,call,log,verbose,command,agent,user,originate

or Sign Up to reply!