providing the highest level of communication services

Can I see how many calls are queued?

Is it possible, using the opencsta libraries, to see how many calls are currently waiting to be answered?

We have a HiPath3000, and I've been using Jython to "look around" the various opencsta java objects but there's nothing jumping out at me which could be used to see how many calls are currently queued in the system awaiting an agent to collect/answer the call. Is this possible? If so, how would I go about it/what objects should I be "investigating"?

Thanks for any help you can provide!

Not directly

Hi refactored,

You will have to monitor it yourself, the QueuedEvent is fired off every time something happens on the queue. This is all the CSTA specification /Hipath offers you at this time (and the foreseeable future). It's up to application writers to implement this. Software like asterisk and freeswitch have these applications built into them - progress!

It should be quite easy to do. In QueuedEvent.java - and watch agent events Logical Device Feature Events (maybe! I haven't done many queuing activities for the past few years)

Feel free to ask further questions.

Kind Regards,
Chris

Examples using QueuedEvent

Thanks for that Chris. Should I be extending QueuedEvent or calling it? I'm new to Java so I'm using my Python background and Jython to get me through, but reading Java code can be rather confusing. Do you know where I could find some example code which uses QueuedEvent so I can see how it works?

Thanks again!

No need to extend it

Hello again,

Hmmmm...Have a look regarding the simple example you can download. Simple CSTA example explanation forum topic

Down the bottom of that, there is how to use a ConnectionCleared event. Basically, you receive a CSTAEvent, and you check which type it is by using java's instanceof operator.

Once you've established which event you've got you can call it's getXXXX() methods - i.e. getCause() or getXXXXDevice(). To start off with you can just call the event's toString() method and see what values are coming across.

That should get you started!

Good luck,
Chris