Author Topic: Agent List mapped to Queue  (Read 4738 times)

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Agent List mapped to Queue
« on: September 09, 2013, 10:51:31 »
Hi,

Can I export the data of agents mapped to certain queues directly from Queuemetrics database?

If not where I can find those data?

Regards,
Gopal

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #1 on: September 10, 2013, 12:16:49 »
Do you want to get a list of queue mappings for some agent as they are now, or the set of queues an agent was working on at a specific point in time?
Both things can be done though the XML-RPC API.

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: Agent List mapped to Queue
« Reply #2 on: September 10, 2013, 13:29:19 »
I would like to get a list of queue mappings for some agent as they are now created in the QM.

Regards,
Gopal

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #3 on: September 11, 2013, 13:42:32 »

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: Agent List mapped to Queue
« Reply #4 on: September 12, 2013, 16:10:06 »
So I have write some XML script?

Regards,
Gopal

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #5 on: September 17, 2013, 20:01:23 »
Yes you have to, I fear.

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: Agent List mapped to Queue
« Reply #6 on: September 19, 2013, 07:37:49 »
Any examples are there? Just as a startup..!

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #7 on: September 20, 2013, 15:40:11 »
The XML-RPC manuals has a few examples of how to use the interface from different environments. Which language would you like?


gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: Agent List mapped to Queue
« Reply #8 on: September 23, 2013, 09:49:20 »
Sorry for my delayed reply... basically I think I can start up with PHP, also where to enable XML-RPC?

Thanks
« Last Edit: September 23, 2013, 13:54:49 by gopal2k »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #9 on: September 24, 2013, 10:16:54 »
Maybe this can help you - we have the XmlRpc browser that is written in PHP. Have a look at how data is processed.
See https://github.com/Loway/QueueMetricsXmlRpcBrowser

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: Agent List mapped to Queue
« Reply #10 on: September 24, 2013, 12:47:30 »
I configured and able to see some stats report, I tried to use Method: QM.findaudio, but in the Audiofiles tab I get
Response block: AudioFiles
--Block not found--

I tried specifying Asterisk IP address in server field, proivided Unique ID, Queue and date & time.

Regards

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agent List mapped to Queue
« Reply #11 on: September 26, 2013, 09:55:03 »
The most common scenario is taht the date and time and the queue-id were typed wrong. if QM can find the audio from the GUI, it's exactly the same code that is run.