MakeCall

Top  Previous  Next

MakeCall(RemoteParty: String): String - Delphi syntax

MakeCall(RemoteParty: String; RXFile, TXFile: String; UserData: Pointer): String - Delphi syntax

string MakeCall(String remoteParty) - C# syntax

string MakeCall(String remoteParty, String rxFile, String txFile, int userData) - C# syntax

MakeCall(RemoteParty As String) As String - VB.NET syntax

MakeCall(RemoteParty As String, RXFile As String, TXFile As String, UserData As String) As String - VB.NET syntax

 

Description

Initiates a call to another SIP softphone.

 

RemoteParty is URI - it is contact name. 'sip:' prefix is required.

 

RXFile is the name of the file used for writing audio instead of to the speaker.

TXFile is the name of the file used for reading audio instead of to 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.

 

OnConnected event will occur when the session is established.

But the OnTerminated event can occur also if a critical error occurs.without the OnConnected event firing. This method returns a call identifier. You may safely ignore it if you are not going to make many calls simultaneously.