Gsm

The gsm command supports the subcommands listed in the table below.

Subcommand

Description

Comments

call <phonenumber>

Simulate an inbound phone call from <phonenumber>.

<phonenumber>

Accept an inbound call from <phonenumber> and change the call's state "active".

You can change a call's state to "active" only if its current state is "waiting" or "held".

busy <phonenumber>

Close an outbound call to <phonenumber> and change the call's state to "busy".

You can change a call's state to "busy" only if its current state is "waiting".

cancel

<phonenumber>

Terminate an inbound or outbound phone call to/from <phonenumber>.

data <state>

Change the state of the GPRS data connection to <state>.

Supported <state> values are:

• unregistered -- No network available

• searching -- Searching networks

• denied -- Emergency calls only

• on -- same as 'home'

hold

Change the state of a call to "held".

You can change a call's state to "held" only if its current state is "active" or "waiting".

list

List all inbound and outbound calls and their states.

voice <state>

Change the state of the GPRS voice connection to <state>.

Supported <state> values are:

• unregistered -- No network available

• searching -- Searching networks

• denied -- Emergency calls only

• on -- Same as 'home'

status

Report the current GSM voice/data state.

Values are those described for the voice and data commands.

0 0

Post a comment