Description
ctiDiscon requests a call be placed from the Avaya IR port to disconnect a call.
Input
(Type: num)
Return values
The return code indicates whether the call was successfully disconnected.
If successful, the result is >0.
On failure, the result is <=0.
Usage notes
ctiDiscon is best used in conjunction with the ctiCallState function to determine the state of a call before it is disconnected.
Also, the Avaya IR port itself will not detect any dial tone on the line after the call is disconnected. If the application needs to terminate before the call is disconnected, it must explicitly do so after a successful return.