WaitCall

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command waits for an incoming call on the specified GSM port. Command exits as soon as incoming call is presented or the general/specified timeout expired.

COMMAND

Command Input arguments Returns
WaitCall Port index, [Timeout] In the case of error, Error Code

OUTPUT

Incoming call indication in the following format:
"CALLING %s\n", calling_number

or in the case that general/specified timeout expired:
"TIMEOUT EXPIRED\n"

EXAMPLE

~# WaitCall 0
CALLING +381637380797

~# WaitCall 2
TIMEOUT EXPIRED