AMI doesn't work on asterisk@edge
The AMI connection does not work with asterisk@edge:
Content of /etc/astersik/manager.conf :
————————————————————————————————————————
[general]
enabled=yes
tlsenable=no
port=5038
bindaddr=0.0.0.0
displayconnects=yes
debug=yes
[admin]
secret = admin
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = all
write = all
————————————————————————————————————————
/etc/asterisk# telnet 127.0.0.1 5038
Connection closed by foreign host
Logfile shows:
————————————————————————————————————————
[Oct 26 16:50:35] WARNING[3949] tcptls.c: FILE * open failed!
————————————————————————————————————————
Seems that by default AMI is trying to use ssl, even if tlsenable=no is specified in manager.conf.
And, (probably) due to https://bugs.alpinelinux.org/issues/3503, it fails.
Thanks.
Francesco
(from redmine: issue id 6394, created on 2016-10-27, closed on 2016-12-22)
- Relations:
- duplicates #3503 (closed)
- Changesets:
- Revision e30b06dd by Timo Teräs on 2016-11-18T07:37:08Z:
main/asterisk: add upstream submitted portability fixes
fixes #3503
fixes #6394