AcceptCall

Top  Previous  Next

AcceptCall(CallToken: String): String - Delphi syntax

AcceptCall(CallToken: String; RXFile, TXFile: String; UserData: Pointer): String - Delphi syntax

AcceptCall(String callToken) - C# syntax

AcceptCall(String callToken, String rxFile, String txFile; int userData) - C# syntax

AcceptCall(CallToken As String) As String - VB.NET syntax

AcceptCall(CallToken As String, RXFile As String, TXFile As String, UserData As Integer) As String - VB.NET syntax

 

Description

Accepts incoming call from another SIP softphone. CallToken is the ID of SIP session it is acknowledged from the OnInvite event handler. RXFile is name of the file used for writing audio instead of to the speaker.

 

TXFile is the name of file used for reading audio instead of from the microphone. RXFile/TXFile parameters should be “” (empty string) when file IO is not required.

 

UserData is the custom data stored in call object and accessible later through GetCallInfo method call.

 

Please be aware that this is an asynchronous method.

The OnConnected event will occur when a session has been accepted i.e. established.