Places a call using the properties of the PhoneCall object.
PhoneCall objects
objectname.MakeCall ( )
Argument |
Description |
---|---|
objectname |
The name of the PhoneCall object on which the call will be made |
Integer. Returns 1 for success and a negative value if an error occurs.
The following example gets a phone number and name from single-line edit boxes, sets properties of the pcall_1 object, and makes a call:
// Global variable: Long g_phInit = 0 integer li_ret if ( g_phInit > 0) then pcall_1.VoiceCall = true pcall_1.PhoneNumber = sle_number.text pcall_1.CalledParty = sle_name.text li_ret = pcall_1.MakeCall() else sle_1.text = "Call not initialized" end if