Click or drag to resize

ChannelResourceDisconnect Method

This method forces the Channel Resource to disconnect any current connections or calls. You may also think of this as "hanging up."

Namespace:  VoiceElements.Client
Assembly:  VoiceElementsClient (in VoiceElementsClient.dll) Version:
public void Disconnect()
Communicating the Disconnect Cause to a Carrier

Optionally, you may specify a numeric cause for your disconnection to the carrier of the call. To do this, use the Disconnect with Cause Code overload.

The example below shows the simple one line to disconnect a call.
public void HangupMyCall()
  // Hangup any connected call
See Also