[asterisk-users] Permission denied when obtaining Status

Steve Shepherd stevenshepherd at gmail.com
Fri Feb 8 08:27:22 CST 2008


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 


More information about the asterisk-users mailing list