QueueMetrics > QueueMetrics installation
AMI Test Status
iCapof:
I installed the new version of QM (15.02) with FreePBX and I went to test if the system is working properly I keep getting this error message under AMI tester:
--- Code: ---Problem: AMI query failed
Exception: it.loway.tpf.common.exceptions.TechException Stack trace: Auth error for U:'admin' P:'mypassword' DS: AstManagerThroughSocket S:'127.0.0.1' P:'5038' at it.loway.app.queuemetrics.asterisk.manager.AstManager.connectFromUri(AstManager.java:83)
--- End code ---
It looks like the username or the password are not correct and I'm not sure how to fix it. Is it possible to reset the password ?
mirkox:
Hello iCapof,
the correct credentials are in your Asterisk machine at /etc/asterisk/manager.conf.
To modify that on the queuemetrics side, open the configuration file ("Edit system configuration") and find the callfile.dir property.
Give a look to this tutorial: https://github.com/Loway/QueueMetricsHowTos/blob/master/QueueMetricsInstall.md
Mirko
iCapof:
I followed the instructions in GitHub and I was able to find the correct credentials for AMI but I'm still getting this error message:
--- Code: ---ERR Originate failed. You may miss 'originate' privilege on Asterisk 1.6+ or you do not have extension 10@queuemetrics
--- End code ---
--- Code: ---ERR Could not download dialplan. You may have to set grant 'config'
--- End code ---
iCapof:
Here's what I have under the manager.conf
--- Code: ---[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
[admin]
secret = mypassword
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,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 5000
include manager_additional.conf
include manager_custom.conf
--- End code ---
I'm using the latest version of Asterisk
mirkox:
Hi,
did you include the QueueMetrics dialplan in your PBX? (You'll find it under /usr/local/queuemetrics/qm-current/WEB-INF/mysql-utils/extensions-examples/extensions_queuemetrics_18.conf
Mirko
Navigation
[0] Message Index
[#] Next page
Go to full version