Author Topic: Enabling Agent's page action  (Read 7737 times)

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Enabling Agent's page action
« 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.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Enabling Agent's page action
« Reply #1 on: June 28, 2008, 09:52:48 »
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:

Code: [Select]
updatedb
locate configuration.properties


Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Enabling Agent's page action
« Reply #2 on: June 30, 2008, 20:09:08 »
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

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Enabling Agent's page action
« Reply #3 on: July 01, 2008, 10:17:39 »
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.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Enabling Agent's page action
« Reply #4 on: July 01, 2008, 15:47:34 »
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.


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Enabling Agent's page action
« Reply #5 on: July 03, 2008, 08:56:59 »
This is meant only for true Agent/xxxx channels. Of course you can change the dialplan to suit your needs.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Enabling Agent's page action
« Reply #6 on: July 09, 2008, 22:10:02 »
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:



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.



« Last Edit: July 09, 2008, 22:11:47 by Mlib »

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Enabling Agent's page action
« Reply #7 on: July 17, 2008, 20:02:22 »
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


 

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Enabling Agent's page action
« Reply #8 on: July 22, 2008, 09:10:24 »

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.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: Enabling Agent's page action
« Reply #9 on: August 09, 2008, 03:35:22 »
Yes, it works! thanks so much..

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Enabling Agent's page action
« Reply #10 on: August 09, 2008, 16:32:06 »
 ;D