Chapter 10 - WAN Link Protocols | 177 |
|
|
All of the chat scripts stored in a router are available to any of the router’s WAN interfaces. To select the scripts which will be used on a specific inter- face, use the
These scripts may also be used for
Chat Script Editor Dialog Box Buttons & Controls
•The Current Chat Script
•The New button brings up a dialog box which asks you to name the new script, then creates a blank chat script and selects it in the Current Chat Script
•The Rename button lets you change the name of the chat script you are currently editing.
•The Delete button deletes the chat script which is currently selected in the Current Chat Script
•The Import button lets you bring a previously exported chat script in from a disk on your computer. The imported information will be appended to the script which is currently selected in the Current Chat Script
•The Export button lets you save the chat script which is currently selected in the Current Chat Script
Chat Script Rules and Syntax
Every line in a chat script must start with either send or expect in order to be a valid chat script line.
•Lines which begin with send will cause all other characters (except escaped control characters, as described below) on the line to be output through the WAN interface which is running the script.
•Lines which begin with expect will cause the router to wait for matching input characters from the WAN interface which is running the script. The router is
ϖNote: The amount of time the router will wait is determined by the Script Timeout parameter in the Link Configuration: WAN Dialog Box.