Modifying CCL Scripts
893-826-A
8-9
•
Set up match strings to define all possible responses that are expected
from the modem (such as CONNECT at a particular speed, no answer,
busy, no carrier or dial tone, or some other error), similar to the match
strings that are used when the CCL script is originating a call. These
match strings usually jump to the same labels that are used for originating
calls.
The match strings are followed by another “matchread” command that tells the
script to read data from the serial port and compare the data to the match
strings.
An example of this matchread command is:
@LABEL “answer-2”
MATCHREAD 700
JUMP “answer-2”
This string is followed by labels and commands to exit when errors are
encountered, and the command:
@HANGUP
which is followed by modem-specific commands that handle hanging up the
telephone.
Modifying a CCL Script for Macintosh Computers
To modify your CCL script to include Model 3395A server authentication
extensions, follow these steps:
1.
Make the CCL script an editable text file.
For example, you can use the ScriptSwitcher program (supplied on the
Model 3395A server software kit) or standard Macintosh programs such
as the ResEdit program to change the file type to text. This permits you to
edit the file using a program such as TeachText, Mockwrite, or any other
text-editing program.
2.
Examine the labels used in the CCL script.
The Model 3395A server extensions were written using seventeen
consecutive labels in the range of 100-116. Most CCL scripts do not use
labels in this range. If any of the labels 100 through 116 are already being
used by the script, either change the labels in the script or change the
labels in the Model 3395A server extensions.
3.
Locate the lines of the script that correspond to the “success” area of
the script; comment out the “PAUSE” command (if any) by placing
an exclamation point character at the beginning of the line.
NOTE:
The modifications described below apply to only CCL scripts that run
on a remote Macintosh computer.
Summary of Contents for 3395A
Page 8: ...viii 893 826 A ...
Page 10: ...x 893 826 A ...
Page 14: ...Preface Preface xiv 893 826 A ...
Page 34: ...Introducing the Communication Server 1 20 893 826 A ...
Page 58: ...Setting Up Basic Modem Applications 3 14 893 826 A ...
Page 84: ...Serial Line Internet Protocol SLIP 5 8 893 826 A ...
Page 98: ...Setting Up ARAP 6 14 893 826 A ...
Page 112: ...Model 3395A Server Support for the Xremote Protocol 7 14 893 826 A ...