diaGlobWrapper Help
Releases the call and resets the channel back to a ready state

Namespace:  Inkostar
Assembly:  DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0

Syntax

C#
public void HangUp(
	Channel CurrentChannel
)
Visual Basic (Declaration)
Public Sub HangUp ( _
	CurrentChannel As Channel _
)
Visual C++
public:
void HangUp(
	Channel^ CurrentChannel
)

Parameters

CurrentChannel
Type: Inkostar..::.Channel
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