gsmMakeCall (Function) |
Top Previous Next |
This establishes a voice connection to a telephone. The function dials the number specified and waits for either completion, timeout, or an error. The number can contain "-" and " " (dash and space) as part of the number to call. "Timeout" specifies how many seconds the RTCU should wait for the other party to pick up the phone before the call returns FALSE.
Input: phonenumber : STRING (max length is 20, excluding " " and "-") Number to call.
timeout : SINT (1..65, Default: 45) Number of seconds to wait for answer before returning FALSE.
Returns: BOOL
Declaration: FUNCTION gsmMakeCall : BOOL;
Example: INCLUDE rtcu.inc |