QueueMetrics > Running QueueMetrics

ERR:Could not download dialplan. You may have to set grant 'config'

(1/1)

coolname:
Where i run AMI tester,there is a error.how to set grant 'config',i have set the read and write to all
Status   
    AMI URL: tcp:admin:*****@127.0.0.1:5038
ERR   Could not download dialplan. You may have to set grant 'config'
OK   Asterisk dialog was OK
    AMI Dialog took 6181 ms

marcos:
Hello,

Do you have the config key in the manager.conf file?
In order to be able to run AMI tester properly, the user that access to asterisk through AMI should have the grant "config" enabled.
You can do that modifying the file manager.conf in the asterisk configuration folder then restart asterisk.
Assuming "admin" is the username used by QueueMetrics to access asterisk through AMI you should have something like:

;
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

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

Thanks.
Marco.

coolname:
it works for me  thanks

Navigation

[0] Message Index

Go to full version