Author Topic: Release all calls on an extension  (Read 2786 times)

Alan Sharp

  • Guest
Release all calls on an extension
« 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

Kent

  • Guest
Release all calls on an extension
« Reply #1 on: January 01, 1970, 12:00:00 AM »
  • Best Answer
  • 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.