Steve Shepherd
2008-Feb-08 14:27 UTC
[asterisk-users] Permission denied when obtaining Status
Greetings,
I've set up the AMI and am able to authenticate, however I am unable to
execute "Action: Status". I get a permission denied error:
asterisk:/etc/asterisk# telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
Action: Login
Username: myusername
Secret: mypassword
Response: Success
Message: Authentication accepted
Action: Status
Response: Error
Message: Permission denied
I then get expected "Event / displayconnects" output. The user
information
from manager.conf is as follows:
[myusername]
secret = mypassword
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
read = system,call,log,verbose,command,agent,user
write = none
displayconnects = yes
Any idea why I am getting permission denied when executing "Action:
Status"?
Cheers,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20080208/978c9413/attachment.htm
Richard Lyman
2008-Feb-08 17:18 UTC
[asterisk-users] Permission denied when obtaining Status
Steve Shepherd wrote:> Greetings, > > I've set up the AMI and am able to authenticate, however I am unable to > execute "Action: Status". I get a permission denied error: >*snipped> read = system,call,log,verbose,command,agent,user > write = none >without the ability to 'write' a command, you are in fact 'denied'