PlaceCallAndWaitConnect

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command places a new call from the specified GSM port and waits until the call is connected, or optional timeout (in seconds) expired, or general timeout expired. Command returns PDD time if available and Total calling time, all in milliseconds.

DESCRIPTION

COMMAND

Command Input arguments Returns
PlaceCallAndWaitConnect Port index, Destination number, [Timeout] Call status

OUTPUT

GSM port call status in the following format:
"ALERTING (%d)\n%s (%d)\n", pdd, call_status, total_calling_time
"%s (%d)\n", call_status, total_calling_time

EXAMPLE

~# PlaceCallAndWaitConnect 0 0632279930 60
NUMBER BUSY (2330)

~# PlaceCallAndWaitConnect 4 0637380797
ALERTING (3435)
CONNECTED (7340)