Creating and Using Modem Chat Scripts
How To Configure Chat Scripts
DC-163
Cisco IOS Dial Technologies Configuration Guide
Note Outbound chat scripts are not supported on lines where modem control is set for inbound activity
only using the modem dialin command.
How To Configure Chat Scripts
The following tasks must be performed before a chat script can be used:
• Define the chat script in global configuration mode using the chat-script command.
• Configure the line so that a chat script is activated when a specific event occurs (using the script
line configuration command), or start a chat script manually (using the start-chat privileged EXEC
command).
To configure a chat script, perform the tasks in the following sections:
• Understanding Chat Script Naming Conventions (Required)
• Creating a Chat Script (Required)
• Configuring the Line to Activate Chat Scripts (Required)
• Manually Testing a Chat Script on an Asynchronous Line (Optional)
See the section “Using Chat Scripts” later in this chapter for examples of how to use chat scripts.
Understanding Chat Script Naming Conventions
When you create a script name, include the modem vendor, type, and modulation, separated by hyphens,
as follows:
vendor-type-modulation
For example, if you have a Telebit t3000 modem that uses V.32bis modulation, your script name would
be:
telebit-t3000-v32bis
Note Adhering to the recommended naming convention allows you to specify a range of chat scripts by
using partial names in UNIX-style regular expressions. The regular expressions are used to match
patterns and select chat scripts to use. This method is particularly useful for dialer rotary groups on
an interface that dials multiple destinations. Regular expressions are described in the “Regular
Expressions” appendix in the Cisco IOS Terminal Services Configuration Guide.
Creating a Chat Script
We recommend that one chat script (a “modem” chat script) be written for placing a call and that another
chat script (a “system” or “login” chat script) be written to log in to remote systems, where required.
Comments to this Manuals