#135 ✓resolved
ik_5

YYdscvafZTgajkdfv

Reported by ik_5 | July 19th, 2011 @ 04:10 AM

When creating a read only user in Asterisk manager:
[reader] secret=reader
displayconnects=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
read=system,call,agent,user,config,command,reporting,originate,all

And attempting to use ahn to have manager's events, it raises the following exception:
INFO ahn: Adhearsion v1.1.1 initialized! DEBUG ami: Sending AMI action:

Action: login ActionID: bQVfVois-zWM5-JWYK-9KfE-uhck2hdnGPyx Username: reader Secret: reader Events: Off

INFO ami: Successful AMI actions-only connection into reader@127.0.0.1 DEBUG ami: Sending AMI action:
Action: coresettings ActionID: mArEEZf7-Ulq4-gRwR-PPSW-gUHSSrZKFrqe

ERROR ami: Received an AMI error with an unrecognized ActionID!! This may be an bug! #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceError: Adhearsion::VoIP::Asterisk::Manager::ManagerInterfaceError>
ERROR ami: Error connecting to AMI! #<Adhearsion::VoIP::Asterisk::Manager::ManagerInterface::AuthenticationFailedException: Incorrect username and password! Permission denied>
[Tue Jul 19 11:01:16 2011] Adhearsion::VoIP::Asterisk::AGI::Server::RubyServer 0.0.0.0:4573 start

Only when adding write permissions solves the exception.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages