List current calls +clcc – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 88

Advertising
background image

Chapter 10 – Supplementary Services Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

88

List Current Calls +CLCC

Description:

This command returns a list of current calls.

Values:

<idx> integer type, call identification as described in GSM 02.30
<dir> direction of the call

0 mobile originated (MO) call
1 mobile terminated (MT) call

<stat> (state of the call):

0 active
1 held
2 dialing (MO call)
3 alerting (MO call)
4 incoming (MT call)
5 waiting (MT call)

<mode> (teleservice):

0 voice
1 data
2 fax
9 unknown

<mpty>

0 call is not one of multiparty (conference) call parties
1 call is one of multiparty (conference) call parties

<number> string type phone number in format specified by <type>
<type>

type of address byte in integer format

<alpha>

optional string type alphanumeric representation of <number>
corresponding to the entry found in phonebook. (for UCS2 format see commands examples
+CLIP, +CCWA or +COLP)

Syntax:

Command syntax: AT+CLCC

Response syntax: OK (if no calls are available)

Else:
+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type> [<alpha>] ]
[<CR><LF>
+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type>[<alpha>] ] [. . . ] ] ]
<CR><LF>

OK

Command

Possible responses

RING
Note: Incoming call

AT+CLCC +CLCC:

1,1,4,0,0,”0146294079”,129

OK

ATA
Note: Answering the call

OK

AT+CLCC +CLCC:

1,1,1,0,0,”0146294079”,129

OK

ATD0146299704
Note: Outgoing Call

OK

AT+CLCC
Note: Before the phone called is ringing

+CLCC: 1,0,2,0,0,”0146294079”,129
OK

AT+CLCC
Note: The phone called is ringing

+CLCC: 1,0,3,0,0,”0146294079”,129
OK

AT+CLCC
Note: The call is being answered

+CLCC: 1,0,0,0,0,”0146294079”,129
OK

Advertising
This manual is related to the following products: