Author Message
P.Bobek
Joined: Sep 14, 2015
Messages: 13
Offline
Hello folks,

is it possible to leave/disconnect from a call which is in held state?
Connection.disconnect() does not work in this situation.
If possible I want to disconnect without unholding the call before the operation.

Best regards
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
It is NOT possible to disconnect a party from a call when it is in the Alerting or Held state. The following is from the Clear Connection Service section of the TSAPI Programmers Reference:

INVALID_OBJECT_STATE (22) – The specified connection at
the station is not currently active (in alerting or held state) so it cannot be dropped.
Go to:   
Mobile view