User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform Chapter 2
Configuration of Modem Management
2-4
For specific format of script, please refer to Modem script syntax.
2.3.4 Executing Modem Script Manually
The start-chat command can be used, when necessary, to execute the specified
Modem script, in order to manage the Modem externally connected with the i nterface.
Perform the following task in asynchronous serial port mode.
Table DC-2-5 Manually execute modem script
Operation Command
Manually execute Modem script start-chat script-name
2.3.5 Specifying the Event to Trigger Modem Script
Relate modem script to events, that is, the router will automatically execute
corresponding script when a specific event occurs. In VRP1.4, the script events
supported include:
z When the call-out connection of the line is established successfully: execute the
specified script when the modem call-out connection is established s uccessfully.
z When the call-in connection of the line is established successfully: execute the
specified script when the modem call-in connection is established s uccessfully.
z DDR dialing: start the dial script during DDR dialing.
z Line reset: execute the specified script when the lin e is disconnected.
z System power on and reboot: execute the specified script for corresponding
asynchronous serial port during system power on and initializatio n.
The script command may be used to specif y corresponding s cripts for all the above
events.
Perform the following task in asynchronous serial port mode.
Table DC-2-6 Specify events triggering modem script
Operation Command
Specify the modem script to execute when call-out connection of
the line is established successfully Script activation script-name
Specify the modem script to execute when call-in connection of
the line is established successfully Script connection script-name
Specify the modem script to execute during DDR dialing. Script dialer script-name
Specify the modem script to execute during line reset Script reset script-name
Specify the modem script to execute during system power on and
reboot Script startup script-name
Specify the default modem initialization string Script init-string init-string
2.3.6 Configuring Modem Answer Mode
Perform the following task in asynchronous serial port mode.