Click or drag to resize
DiaGlobWrapperAnswerCall Method (Channel, Int32)
diaGlobWrapper Help
Answers the incoming call being offered after a specific number of rings

Namespace: Inkostar
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
public void AnswerCall(
	Channel CurrentChannel,
	int NumberOfRingsBeforeAnswer
)

Parameters

CurrentChannel
Type: InkostarChannel
The Channel on the Dialogic board on which the function is to be executed.
NumberOfRingsBeforeAnswer
Type: SystemInt32
The number of rings before the incoming call is answered.
Remarks
This function can only be invoked when an incoming call is being offered and after the event EventReceived.Ringing is received.
Compatibility: All (NumberOfRingsBeforeAnswer parameter will be ignored if not supported)
On completion this function will generate an EventReceived.Connected event
On failure this function will generate an EventReceived.TaskFailed event or an exception of type DiaGlobWrapperLibException
Examples
To answer the incoming call after 5 rings:
C#: objDevice.AnswerCall(ChannelInbound, 5);
VB.NET: objDevice.AnswerCall(ChannelInbound, 5)
See Also