[asterisk-users] How do you handle queues with AMI?

Danny Nicholas danny at debsinc.com
Fri Mar 11 09:21:23 CST 2011


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Louis Carreiro
Sent: Friday, March 11, 2011 9:17 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] How do you handle queues with AMI?

 

Hey all,

 

I'm in the process of writing a few applications that are going to either
monitor the queue (number of calls, positions, etc) or respond to answering
a queue call (if you answer, a window pops up with info about caller, hold
time, etc.). I'm writing this in C# but language isn't important. I'm not
looking for a hand out on code, what I'm really interested in is theory or
logic. How are other people watching the call come into the queue and watch
it from there. What events are you watching?

 

I've already got the app to recognize the "packets" of information from the
AMI so I can handle them accordingly. I know how to action off of the
AgentConnect part but what I'm missing is how to tie that back into the call
(Caller ID, etc.). I know the first response will be use the Uniqueid for
the call but how? What are your methods for tracking it? How do you know it
even entered the queue?

 

Also, as I'm writing this, if anyone would like to help out or share code
I'm up for it. I'll make my code available to all interested in doing this
in C# (it's pretty painless).

 

Thanks!

Louis

 

If you look through your CDR, you'll see the information you need to develop
this methodology.  Keep in my that (as I understand it), when an agent picks
up a call, the uniqueid will change just like the call had been transferred.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110311/85247b13/attachment.htm>


More information about the asterisk-users mailing list