- Contents
Interaction Scripter Developer's Guide
CallObject.dial Method
Definition
This method dials a phone number. If you want to catch errors, use a Handler or Object Watcher to receive error codes. Using Dial is the same as calling ExtendedDial with TimeoutSecs=15 and no call analysis. After calling a CallObject's Dial function, the objectSpecificChangeHandler will be called to give an event code describing the outcome of the dial operation.
Syntax
CallObject.dial(Number, CallHandlerOnSuccess);
Prototype
CallObject.dial(
[in] String Number,
[in] Boolean CallHandlerOnSuccess
)
Input Parameters
- Number
-
The telephone number to call.
- CallHandlerOnSuccess
-
A Boolean value. Set True to call the event handler when the call is connected.
Return Values
None.
Example
See the scripter.createConferenceObject method for sample code.