Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Network interface instructions

The network interface instruction tic is described below.

tic('C', ctype.dialstr, type.rings)
tic('D', ctype.dialstr
tic('O', ctype.dialstr)
tic('X', ctype.dialstr, type.xferwhen)
tic('a')
tic('d', ctype.dialstr)
tic('h')
tic('o', ctype.dialstr)
tic('x', ctype.dialstr, type.xferwhen)

The tic instruction provides the script with control functions for the telephone interface line (channel) that the script is currently using. The function that the tic instruction performs depends on the value of its first argument. These argument values and their corresponding functions are listed below.

The tic instruction uses script registers 0 (r.0) and 1 (r.1) to return a result. This result may differ according to whether the script is using an E1, T1, or PRI channel. Where such variations exist, they are noted below.

C

Call a number and wait for the disposition. Dial ctype.dialstr. Wait for the number of rings given in type.rings for answer, or call progress tone other than ringing, or no answer.

This instruction handles differences between telephony types better than tic(`O').

D

Dial ctype.dialstr. Wait for any call progress tone, and then resume the script.

O

Originate (go off-hook and dial ctype.dialstr). Wait for the first call progress tone (CPT), and then resume the script. Note that the first CPT could be a Ringback, with no indication of Answer or No answer disposition.

X

Transfer to ctype.dialstr based on type.xferwhen, wait for any call progress tone, and then resume the script.

a

Answer the line (go off-hook).

d

Dial ctype.dialstr, and then resume the script.

h

Hang up the line (go on-hook).

o

Originate (go off-hook and dial ctype.dialstr), and then resume the script.

x

Transfer to ctype.dialstr based on type.xferwhen, and then resume the script.

Note:
If a dial tone is expected during a call, it is recommended that you use options D and O (or C) instead of d and o. This prevents the dial tone from being interpreted as a hangup signal.

In This Section

Sample script using network interface instructions

Feature-related instructions

PRI script instructions

© 2006 Avaya Inc. All Rights Reserved.