CTI Products NCB/AY with Serial Interface User Manual

Page 25

Advertising
background image

CTI Products, Inc.

NCB-AY User Guide

3. Network Variable Control

19

Dial String (Input)

C Language Syntax

network input SNVT_str_asc nviDialStr1;
network input SNVT_str_asc nviDialStr2;

Usage

A non-null string sent to this input network variable while the current modem connection state
is TEL_NOTINUSE causes the modem to go off hook, wait for a dial tone, then perform a
dialing sequence using the provided character string.

A non-null string sent to this input network variable while the current modem connection state
is other than TEL_NOTINUSE has no effect on the modem connection state or action.

A null string sent to this input regardless of current modem connection state has no effect on
the modem connection state or action.

Valid Range

A NULL terminated ASCII string up to 31 bytes in length.

All ASCII characters are valid, with specific support for the following:

Letter P (upper or lower case, first character in string only) – Pulse Dial.

Digits (0-9,*,#) – Dials digit directly.

Comma (,) – Pauses 2 seconds for each comma encountered.

Letter W (upper or lower case) – Pauses until a dial tone is detected.

Exclamation Point (!) – Hookflash, go on hook for 0.5 seconds, then back off hook.

Punctuation (space, dash, left and right parentheses) – Valid in string, but ignored.

Call Cancel (Input)

C Language Syntax

network input SNVT_switch nviCallCancel1;
network input SNVT_switch nviCallCancel2;

Usage

An input value of ON to this network variable causes the modem to immediately go on hook,
terminating the connection attempt in progress or breaking the existing connection to the
distant modem. The modem returns to the TEL_NOTINUSE state.

Valid Range

Value

Call Cancel

Off

No Action

On

Modem goes On-Hook

Default Value

Off

Advertising