AMI permision denied Asterisk

Hello,

I can’t make a originate call using AMI.

There is /etc/asterisk/manager.conf

[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
#bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

[admin]
secret = 123456
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

[ANS]
secret = 123456
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,originate,agi
write = system,call,log,verbose,command,agent,user,originate,agi

[myasterisk]
secret = 123456
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,originate
write = system,call,log,verbose,command,agent,user,originate

#include manager_additional.conf
#include manager_custom.conf


There is how i want to make a call

telnet 127.0.0.1 5038

action : login
username: admin
secret : 123456
Action: Originate
Channel: SIP/489
Exten: 2015
Callerid: 489
Priority: 1
Async: true

I have every time this message (for every users) :

Response: Error
Message: Permission denied

Can you help me ?

Best regards,
Luca

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.