I am trying to get number of calls waiting in a Hunt Pilot. I have enabled "setHuntListEnabled" feature and been getting hunt pilot creation event and based on that i am creating queue calls.Everything works fine including calls events, dnd etc as long as the users in the group are free and able to take calls.
The issue is i get "CiscoHuntConnCreatedEv" only when users in the group are free or able to take call but when all the users of the group are busy and the next call comes in it goes to queue at this time i do not get any event at all and as a result i cant keep track of queued calls. I believe when all the devices of the group are busy and then next call is forwarded to hunt pilot which throws "CiscoHuntConnCreatredEv" only against the free extensions. If this is the case then is there any way where i can get event as soon call comes to a gateway or any time call is made or received.
If its not possible through JTAPI is there any other way please to get this information.
In general, it is not possible to directly monitor the hunt pilots using CTI. The hunt support in CTI is as you describe: focused on stuff that happens once a hunt-target device is involved in an incoming call.
AFAIK the only work-around would be to implement your own 'hunt group' ACD-like functionality in your app, i.e. by using CTI Route Points and CTI Ports. This will involve some work, but gives you complete control of events and behaviour.
Thanks for the reply. I had tried with CTI route point which gives full control but i am not being allowed to use this, Now in addition to JTAPI i am using SOAP API to get queue information.