Author Message
chukiatdenkongpon
Joined: Nov 7, 2013
Messages: 97
Offline
Hi

I need to monitor no. of queue on skill using JTAPI.

Could you please give us sample code to sample monitor no. of queue on skill?

Address address = provider.getAddress(queueingVDN);
address.addCallObserver(new CallObserver() {...});

Thank you.

Chukiat D.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
I presume you mean that you want to know how many calls are queued to a skill. To the best of my knowledge, there is no way to get this information directly using JTAPI.

However, you can use a monitor on a VDN to keep track of which calls are currently queued for that VDN. There is a JTAPI FAQ called "How can an application obtain the longest call waiting time, average call distribution, and expected wait time using JTAPI?" which should give you an idea. It is not exactly what you asked but it should still be useful to you.

Basically:
1. Start a monitor in the incoming VDN
2. Every Queued event means that a call is queuing.
3. Each Established event means that a call is off the queue.
4. Your application can easily keep track of which call is still queued and even, how long it was queued.
5. If the VDN can send calls to different skills, your application should probably be able to use the information available to differentiate between the skills.
6. If the skill is used by more than one VDN, your application should monitor all the VDNs.

Martin
Go to:   
Mobile view