Call control commands – Westermo GS-01 User Manual

Page 9

Advertising
background image

9

6195-2201

Call control commands

D – Dial command

Command syntax:

ATD <Numb> [I / i] [G/g] [;]

ATD> <PhbStr> [I / i] [G/g] [;]

ATD> mem <n> [I / i] [G/g] [;]

ATD> <PhbIndex> [I / i] [G/g] [;]

The ATD command is used to establish a speech, data or fax call.

For a data or fax call, the application sends to the GSM module the following ASCII
string: (the bearer has to be selected before with the +CBST command)

ATD<nb>

where <nb> is the called phone number.

For a voice call, the application sends to the GSM module the following ASCII string:
(the bearer has to be selected before, if not a default bearer is used)

ATD<nb>;

where <nb> is the called phone number.

Please, notice that in case of international number, the local international prefix has not
to be set (usually 00) but need to be replaced by the ”+” character.
Example: to establish a voice call to Wavecom from another country,

the AT command shall be:

ATD+33146290800;

Notice that some countries can have particular numbering rules for their GSM handset
numbering.

The answer to the ATD command can be one of the following ones:

Verbose result code

Numeric (V0 set)

Description

OK

0

if the calls succeeds, for voice
call only

CONNECT <speed>

10,11,12,13,14,15

if the calls succeeds, for data calls
only, <speed> takes the value
negotiated by the GSM module

BUSY

7

if the called party is already in
communication

NO ANSWER

8

if no hang up is detected
after a fixed network time-out

NO CARRIER

3

Call setup failed or remote user
release. Use the AT+CEER
command to know the failure
cause

Advertising