telnet the AMI failed

rasdab
Joined: Wed 15 of Mar, 2017

Re: telnet the AMI failed

Posted:Thu 16 of Mar, 2017 (09:46 UTC)
I find the solution.
in my case you need to specifie the port in the /etc/asterisk/http.conf
bindport=port number
reboot the server
rasdab
Joined: Wed 15 of Mar, 2017

telnet the AMI failed

Posted:Wed 15 of Mar, 2017 (15:17 UTC)
Hello,

I cant connecte the Asterisk Manager Interface.
telnet localhost 5038

root@asterisk /# telnet localhost 5038
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused


my manager.conf
general
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=yes ;only effects 1.6+
admin
secret = secret
deny = 0.0.0.0/0.0.0.0
permit = 127.0.0.1/255.255.255.0
permit = my local network/255.255.255.0


read = system,call,log,verbose,command,agent,user,config, originate

write = all,system,call,log,verbose,command,agent,user,con fig,originate
my firewall is disabled
service iptables stop
service ip6tables stop
selinux disabled

Can any one help me please!!