4 executing modem script manually, 5 specifying the event to trigger modem script, 6 configuring modem answer mode – Huawei V200R001 User Manual

Page 10: Chapter 2

Advertising
background image

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 interface.

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 successfully.

z When the call-in connection of the line is established successfully: execute the

specified script when the modem call-in connection is established successfully.

z DDR dialing: start the dial script during DDR dialing.
z Line reset: execute the specified script when the line is disconnected.
z System power on and reboot: execute the specified script for corresponding

asynchronous serial port during system power on and initialization.

The script command may be used to specify corresponding scripts 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.

Advertising