asterisk - Error connecting to ami: Connection refused -
i trying connect remotely on free pbx ami manager receive error of "error connecting ami: connection refused"
i configured manager.conf
[general] enabled = yes webenabled = yes port = 5038 httptimeout = 60 bindaddr = 127.0.0.1 displayconnects=no ;only effects 1.6+ [myusername] secret = mypassword deny = 0.0.0.0/0.0.0.0 permit= my_server_ip/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
bindaddr = 127.0.0.1 mean have no ami on external ip.
if connecting 127.0.0.1 -> should allow 127.0.0.1. if connecting external ip -> have bind ami ip or 0.0.0.0
wiki
Comments
Post a Comment