Specifications
Chapter 17 – Audio Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 202
16.2 AT+CNUM Read Own Numbers
Description: AT+CNUM returns the subscribers own number(s) from the SIM.
Test Command Syntax: AT+CNUM=?
Response(s): OK
Exec Command Syntax: AT+CNUM
Response(s): [+CNUM: [<alpha>], <number>, <type>]
[+CNUM: ... ]
OK
ERROR
+CME ERROR: <err>
Parameter Descriptions:
<alpha>
Optional alphanumeric string associated with <number>.
<number>
Phone number in format specified by <type>.
<type>
Type of address octet, see also: AT+CPBR <type>.
Note:
• Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is returned.
See Section 20.1, Restricted Access to SIM Data after SIM PIN Authentication.
16.3 AT+CPBR Read from Phonebook
Description: AT+CPBR serves to read one or more entries from the phonebook selected with
AT+CPBS.
The test command returns the location range supported by the current phonebook
storage, the maximum length of <number> field and the maximum length of <text> field.
Length information may not be available while SIM storage is selected. If storage does not
offer format information, the format list contains empty parenthesizes.
The write command determines the phonebook entry to be displayed with <location1> or
a location range from <location1> to <location2>. Hence, if no <location2> is given only
the entry at <location1> will be displayed. If no entries are found at the selected location
“OK” will be returned.
Test Command Syntax: AT+CPBR=?
Response: +CPBR: (1-<maxloc>), <nlength>, <tlength>
OK
+CME ERROR
Write Command Syntax: AT+CPBR=<location1>[, <location2>]
Response: [+CPBR: <location1>, <number>, <type>, <text>]
[+CPBR: <location2>, <number>, <type>, <text>]
OK
+CME ERROR
Parameter Description:
<location1>
The first (lowest) location number within phonebook memory where to start reading. The maximum range
supported by the current phonebook is given in the test command response.
If <location1> exceeds the upper bound <maxloc> (as indicated by the test command), command will respond
with “+CME ERROR: invalid index”.
<location2>
The last (highest) location number within phonebook memory where to stop reading. The maximum range
supported by the current phonebook is given in the test command response.
If both <location1> and <location2> are in the range indicated by the test command parameter <maxloc> the list
of entries will be output and terminated with “OK”.
If <location2> exceeds the range indicated by the test command parameter <maxloc>, the list of entries will be
output but terminated with “+CME ERROR: invalid index”.
<number>
Phone number in format specified by <type>, it may be an empty string.
<type>
Type of address octet, which defines the used type of number (ton) and the numbering plan identification (npi).