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

C#
public void AnswerCall(
	Channel CurrentChannel,
	int NumberOfRingsBeforeAnswer
)
Visual Basic (Declaration)
Public Sub AnswerCall ( _
	CurrentChannel As Channel, _
	NumberOfRingsBeforeAnswer As Integer _
)
Visual C++
public:
virtual void AnswerCall(
	Channel^ CurrentChannel, 
	int NumberOfRingsBeforeAnswer
) sealed

Parameters

CurrentChannel
Type: Inkostar..::.Channel
The Channel on the Dialogic board on which the function is to be executed.
NumberOfRingsBeforeAnswer
Type: System..::.Int32
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