| DiaGlobWrapperHangUp Method |
diaGlobWrapper Help
Releases the call and resets the channel back to a ready state
Namespace: InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntaxpublic void HangUp(
Channel CurrentChannel
)
Public Sub HangUp (
CurrentChannel As Channel
)
public:
void HangUp(
Channel^ CurrentChannel
)
member HangUp :
CurrentChannel : Channel -> unit
Parameters
- CurrentChannel
- Type: InkostarChannel
The Channel on the Dialogic board on which the function is to be executed.
Remarks
This function will fail if invoked while the channel is in an invalid call state.
It is recommended to use the CanHangup function first to ensure that the call can be released.
Compatibility: All
On completion this function will generate an EventReceived.Disconnected event
On failure this function will generate an EventReceived.TaskFailed event or an exception of type DiaGlobWrapperLibException
Examples
To hangup the active call:
C#: objDevice.HangUp(ChannelInbound);
VB.NET: objDevice.HangUp(ChannelInbound)
See Also