Compatible Systems 5.4 Manuale Utente

Pagina di 313
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 Dial-out Script / Connect Script and Dial-back Script 
pull-down menus in CompatiView’s Link Configuration: WAN Dialog Box. 
You can access this dialog box by selecting WAN/Link Configuration from 
the Device View.
These scripts may also be used for user-specific dial-back scripts in the User 
Authentication Dialog Box, and can be selected from there. Access this dialog 
box by selecting Global/User Authentication Database in the Device View.
Chat Script Editor Dialog Box Buttons & Controls
The Current Chat Script pull-down menu lets you select a script for 
editing.
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
 pull-down menu. Names can be up to 16 characters long.
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 pull-down menu.
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
 pull-down menu.
The Export button lets you save the chat script which is currently 
selected in the Current Chat Script pull-down menu to a disk file on 
your computer.
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 case-sensitive when examining returned data.
v Note:  The amount of time the router will wait is determined by the Script 
Timeout 
parameter in the Link Configuration: WAN Dialog Box.