R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

192
Command Descri
p
tion
Qn
Enables a modem to send result codes.
The n argument can be 0 or 1.
Q0—Enables output result code sending (the default).
Q1—Disables output result code sending.
Sr=n
Sets register r to value n.
Specify a register to be set by specifying the r argument, which can be 0 through 27,
29, 31 through 33, 35, 37, and 89.
The n argument is the value to be assigned to the register, in the range of 0 to 255.
T Sets tone dial default. This command can also be used as the dialing corrector.
P
Sets pulse dialing default. After you execute this command, a modem performs pulse
dialing until you execute the T command. This command can also be used as the
dialing corrector.
Vn
Specifies the result code format. The n argument can be 0 or 1.
V0Sends numeric result codes.
V1—Sends result codes in text (the default setting).
Examples
# Issue the ATD169 command to the modem to call number 169.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] physical-mode async
[Sysname-Serial2/0] sendat ATD169
service modem-callback
Use service modem-callback to enable the callback function.
Use undo service modem-callback to disable the callback function.
Syntax
service modem-callback
undo service modem-callback
Default
The callback function is disabled.
Views
System view
Default command level
3: Manage level
Usage guidelines
The service modem-callback command enables the modem to initiate a callback upon activation of the
line when the modem detects the carrier or data is being received. Because the callback occurs before
the PPP process starts and accounting is performed, costs are saved.