Ozeki VoIP SDK Class library
CreateCallObject Method (iline, dial, listener)
NamespacesOzeki.VoIP.SDKISoftPhoneCreateCallObject(IPhoneLine, String, IPhoneCallListener)
Call a number.
Declaration Syntax
C#Visual BasicVisual C++
IPhoneCall CreateCallObject(
	IPhoneLine iline,
	string dial,
	IPhoneCallListener listener
)
Function CreateCallObject ( _
	iline As IPhoneLine, _
	dial As String, _
	listener As IPhoneCallListener _
) As IPhoneCall
IPhoneCall^ CreateCallObject(
	IPhoneLine^ iline, 
	String^ dial, 
	IPhoneCallListener^ listener
)
Parameters
iline (IPhoneLine)
The relative phone line object to the created phone call object.
dial (String)
The phone number to dial.
listener (IPhoneCallListener)
Attach a PhoneCallListener.
Return Value
The created phone call.
Remarks
It creates an IPhoneCall object to the phone line that is specified by the first parameter. The call can be started by calling the Start() method. In this case the call state will be first Created then Ringing. If you specify the listener parameter, it is automaically attached to the created IPhoneCall object.

Assembly: VoIPSDK (Module: VoIPSDK) Version: 10.0.0.15276