modem auto-answer
Use modem auto-answer to enable auto-answer mode.
Use undo modem auto-answer to disable auto-answer mode.
Syntax
modem auto-answer
undo modem auto-answer
Default
Auto-answer mode is disabled. The modem answers a call only when it receives the AT command from
the router.
Views
User line view
Predefined user roles
network-admin
Usage guidelines
To ensure correct operation of the modem, set the auto-answer mode on the user line to be the same as
the modem.
Enable auto-answer mode if the modem is in auto-answer mode (the AA LED of the modem lights
•
up). This setting prevents the router from issuing a duplicate answer command after the modem
answers a call.
Disable auto-answer mode if the modem is not in auto-answer mode.
•
This command is available on the following user lines:
TTY lines for the following interfaces:
•
AM interface
Asynchronous serial interface
Asynchronous/synchronous serial interface operating in asynchronous mode
AUX line
•
To display the user line for an interface, use the display line command.
Examples
# Enable auto-answer mode on TTY 1.
<Sysname> system-view
[Sysname] line tty 1
[Sysname-line-tty1] modem auto-answer
Related commands
modem caller-number resolve
modem callback
Use modem callback to enable the callback function.
Use undo modem callback to restore the default.
101