我正在尝试远程连接我的免费PBX AMI管理器,但我总是收到错误#34;错误连接到ami:连接被拒绝"
我已经配置了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
答案 0 :(得分:0)
bindaddr = 127.0.0.1
意味着您的外部IP没有AMI。
如果您连接到127.0.0.1 - >你应该允许127.0.0.1。如果您连接到外部IP - >你把ami绑定到那个ip或0.0.0.0