Toshiba Stratagy 4 Installation And Maintenance Manual page 215

Hide thumbs Also See for Stratagy 4:
Table of Contents

Advertisement

STRATAGY
4/6/24
INSTALLATION
AND
MAINTENANCE
MANUAL
SEPTEMBER
1994
11111,06301994
22222,070111994
33333,07061994
12345,07121994
2.7.2
THE PROGRAMMING
For User ID 2000:
Define the Users record to contain:
Extension:
R(G1 ,%S1,20)
I(LEN[%Sl],!,5,200l)G(2002)
Access User Mode via telephone.
Record:
greeting
7: "Please
enter the five digit order
number now."
The Exfension field breaks down as follows:
R(G1 ,%Sl,20)
Play greeting 1. Wait for the caller
to enter a phone number. Read the
DTMF the caller entered into
variable %Sl . Wait 20/l 0 or 2
seconds for DTMF.
I(LEN[%Sl],!,5,
2001)
If the length of variable %Sl does
not equal 5, go to User ID 2001.
I
G(2002) 1 Go to User ID 2002.
I Em6
For User ID 2001,
access
User Mode via telephone.
Record:
greeting
7: "Your order number
must be five digits.
Goodbye."
For User ID 2002:
Define the Users record to contain:
Extension: ?(%Sl ,SHIPPED,2003)P(Gl)
Access User Mode via telephone.
Record:
greeting
I: "Sorry, but your order has not yet
shipped. Please call back tomorrow."
The Extension field breaks down as follows:
?(%Sl,
If variable %Sl exists in the file, go
SHIPPED,2003)
to User ID 2003.
P(G1)
Play greeting 1.
EmI
For User ID 2003:
Define the Users record to contain:
Extension: V(SHIPDATE,l
,%S1,2,%S2)
P(Gl)P(%S2,D)
Access User Mode via telephone.
Record:
greeting
7: "Your order was shipped on."
The Extension field breaks down as follows:
V(SHIPDATE,l,
In file SHIPDATE, search field 1 for
%Sl,2,%S2)
variable %Sl. Store field 2 in
variable %S2.
I
P(G1) 1 Play greeting 1.
P(%S2,D)
Play the DTMF digits represented
by the variable %S2 as a date.
2.7.3
HOW IT WORKS
The order shipment examples works as follows.
Stratagy:
1.
Asks the caller to enter the order number.
2.
Determines
if the order number is 5 digits long.
n
If not, says "Your order number
must be five
digits. Goodbye."
n
If 5 digits long, Stratagy continues.
3.
Determines
if the order number has shipped
n
If not, plays "Sorry, but your order has not yet
shipped. Please call back tomorrow."
n
If shipped,
plays "Your order was shipped on"
and the date of shipment.
For example,
if the caller entered
order number
12345,
Stratagy
would play "Your order was shipped
on July
twelfth, nineteen ninety-four."
3 NOTIFY MENU EXAMPLES
The
examples
below
provide
information
on
programming:
n
Message
waiting
light control when light on and off
codes differ
n
Message
waiting
light control when light on and off
codes are the same
n Voice notification
n
Notification to a pager
n
Relay paging to a pager
n
Emergency
lists
3.1
MESSAGE
WAITING
LIGHT
CONTROL
WHEN
LIGHT
ON AND
OFF CODES
DIFFER
Some telephone
systems support message waiting lights
which can be controlled
by special sequence
keys. The
following
method
works if the telephone
system
uses
different
codes to turn on and off the message
waiting
light.
B-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stratagy 6Stratagy 24

Table of Contents