Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Alan Sharp on January 01, 1970, 12:00:00 AM

Title: Release all calls on an extension
Post by: Alan Sharp on January 01, 1970, 12:00:00 AM
Guys,
Am looking for a way to release all calls currently on an extension using ActiveX Toolkit.

The extension is a routing point for OCS from which predictive dials are placed.

Problem is, a TExtension control will only hold 8 calls at one time, so when the number of calls dialling gets above 8, I can't track them all. I still get the eventdialling notifications for the additional calls being placed, but if I attach a TCallObj to them then, the activecall I get back from the extension is the 8th one that was in dialling, rather than 9th or 10th or 11th etc...

Any ideas? I dont really need to track all the calls with a TCallObj, just need to be able to release all the calls on the routing point at once...

Thanks
Alan
Title: Release all calls on an extension
Post by: Kent on January 01, 1970, 12:00:00 AM
Why would you want to release all calls at once?

What I would do is actually use one TCalLObj to collect all ConnIDs, store them in an array and just loop through them, replacing ConnID with the value in the array. Not fancy but should do the trick.