QueueMetrics forum
QueueMetrics => General Asterisk configuration => Topic started by: Mlib on June 27, 2008, 20:23:10
-
Hello, where is located the callfile.actionname.enabled=true ? the one that is used to enable the agent's page.
-
In the configuration.properties file that is under the system directory (you can find that in QM 1.4.4. by going to the Licence page).
On most unix systems you can find it by:
updatedb
locate configuration.properties
-
There is no callfile.actionname.enabled=true or false in the configuration.properties. I only find this:
callfile.outmonitoring.enabled=true
callfile.outmonitoring.channel=Local/$EM@from-internal/n
callfile.outmonitoring.extension=14
callfile.outmonitoring.context=queuemetrics
callfile.agentdial.enabled=true
callfile.agentdial.channel=Local/13@queuemetrics/n
callfile.agentdial.extension=10
callfile.agentdial.context=queuemetrics
callfile.calloutcome.enabled=true
callfile.calloutcome.channel=Local/12@queuemetrics/n
callfile.calloutcome.extension=10
callfile.calloutcome.context=queuemetrics
callfile.agentlogin.enabled=true
callfile.agentlogin.channel=Local/20@queuemetrics/n
callfile.agentlogin.extension=10
callfile.agentlogin.context=queuemetrics
callfile.agentlogoff.enabled=true
callfile.agentlogoff.channel=Local/21@queuemetrics/n
callfile.agentlogoff.extension=10
callfile.agentlogoff.context=queuemetrics
callfile.agentpause.enabled=true
callfile.agentpause.channel=Local/22@queuemetrics/n
callfile.agentpause.extension=10
callfile.agentpause.context=queuemetrics
callfile.agentunpause.enabled=true
callfile.agentunpause.channel=Local/23@queuemetrics/n
callfile.agentunpause.extension=10
callfile.agentunpause.context=queuemetrics
-
There is no callfile.actionname.enabled=true or false in the configuration.properties. I only find this:
callfile.outmonitoring.enabled=true
callfile.agentdial.enabled=true
callfile.calloutcome.enabled=true
callfile.agentlogin.enabled=true
callfile.agentlogoff.enabled=true
callfile.agentpause.enabled=true
callfile.agentunpause.enabled=true
That's them - actionname is a placeholder for the actual action you want to enable or disable.
-
Thank you , so I want to use the agent page, to log on, log out, go to pause, I need to have all this features enabled? And what else?
I'm questioning that because I have already set my agents dinamically using agentcallbacklogin application, but with this I think that I only can get the agent log in and log out.
-
This is meant only for true Agent/xxxx channels. Of course you can change the dialplan to suit your needs.
-
Hello, sorry, but what did you mean with " is meant only for true Agent/xxxx channels"
I have 2 agents configured by agentcallbacklogin and with this application they can only log in ang log out. So, because of this reason I want to use the agent's page to set my agents to pause, but when I go to this page and try to set my agent to a pause, there is a message that says that i haven't the rights for these action, like in the following pic:
(http://img134.imageshack.us/img134/6845/2dejulioyf7.th.png) (http://img134.imageshack.us/my.php?image=2dejulioyf7.png)
In the appendix III: The (queuemetrics context), they suggest me to create a especial context name queuemetrics in my dialplan, so in this way QM will trigger functions through a callfile.
1. I just copied the extensions_queuemetrics.conf to the /etc/asterisk,
2. Also i put: #include extensions_queumetrics.conf to the end of the extensions.conf and in the extensions_custom.conf I put include include => quemetrics (the context that is at the extensions_queuemetrics.conf).
Question:
1. What is this callfile that QM will use to trigger this functions?
2. What else do I need to use the agent page?
3. What means the message that i got when trying to set the pause or other application in this page.
-
Hello everyone. Searching I find that the Error: "You do not have the rights to perform the requested action."
And it has to be with 3 posible causes:
1. That the connect credentials aren't correct.
2. That the dial plan context [queuemetrics] isn't included.
3. Some setup error that prevents QM to connects to the Asterisk.
You can find this information in:
http://www.queuemetrics.com/faq.jsp#faq-041-no_rights.
I reviewed the 2 item,I put in the CLI: show dialplan queuemetrics, and is all in order.
I got this:
[ Context 'queuemetrics' created by 'pbx_config' ]
'10' => 1. Answer() [pbx_config]
2. Wait(10) [pbx_config]
Questions:
I want to know, what can I do to begin seeing attempts or messages in the CLI when QM connects and disconnects.
The credentials supplied in the configuration.properties file should look like:
What should I put here?
If I have this in /etc/asterisk/manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[admin]
secret = **********
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
Then what i have to put in callfile.dir=tcp:user:password@server?
what is the user, the password and the server?
Maybe is callfile.dir=tcp:admin: **********@127.0.0.1?
Thanks , i would be waiting your response
-
Maybe is callfile.dir=tcp:admin: **********@127.0.0.1?
Yes that's it.
You should be seeing connection attempts on the Asterisk CLI anyway.
I suggest that when trying to configure you remove the deny/permit lines, see if it works and add them afterwards.
-
Yes, it works! thanks so much..
-
;D