Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Permission denied when obtaining Status


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
stevenshepherd at gmai...
Guest





PostPosted: Fri Feb 08, 2008 9:27 am    Post subject: [asterisk-users] Permission denied when obtaining Status Reply with quote

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
Back to top
pchammer at dynx.net
Guest





PostPosted: Fri Feb 08, 2008 12:18 pm    Post subject: [asterisk-users] Permission denied when obtaining Status Reply with quote

Steve Shepherd wrote:
Quote:
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
Quote:
read = system,call,log,verbose,command,agent,user
write = none

without the ability to 'write' a command, you are in fact 'denied'
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services