
Token Programming
Defined Tokens
Strata CIX40 Voice Processing Programming Manual 7/06
5-9
T
o
k
e
n Pro
g
ra
mmi
ng
KF
Suppresses DTMF_gate function.
Syntax
@KFV(CALLERID.txt,field,%K,field,%Sn)G(%Sn)
where:
@
Suppresses normal process.
KF
Suppresses DTMF gate function..
V
Searches Callerid.txt file.
Callerid.txt File to be searched.
field
Field in Callerid.txt file that is searched for
%K
match (e.g., phone number).
%K
Valid held in Calling Party ID buffer.
field
If a match to
%K
is found, this field is saecrched for the asociated value (e.g., User ID) and
the value is stored in
%Sn
.
%Sn
One of the
%Sn
storage varibles (range: 0~19).
G (%Sn) Goes to mailbox number stored in
%Sn
.
Example
@KFV (CALLERID.txt,1,%K,2,%S2)G(%S2)
@
Suppresses normal process.
KF
Suppresses DTMF gate function..
V(CALLERID.TXT,1,%K,2,%S2)
Searches field 1 of the callerid.txt for a value the matches
%K
. If a match is found, the GVPH
stores the value in field 2 of the callerid.txt as %S2. If no match is found, the remaining values in the
token string are ignored and the GVPH executes the Done chain.
KI( )
Position of substring in string—the
KI( )
token searches
string
for the first occurrence of
substring
.
The result of the search is the position of the
substring
within the
string
, and it is stored as the
variable.
Syntax
KI(substring,string,%Sn)
where:
substring
Any alphanumeric substring. Can be a variable.
string
Any alphanumeric string. Can be a variable.
%Sn
One of the %S storage variables (range: 0~19).
Example
KI(”d”,”abcdefg”,%S0)
Searches
string
“abcdefg” for the first occurrence of
substring
“d,” and places the value of the position
of the
substring
within the
string
in storage variable 0. The result is the %S0 variable containing 4,
because “d” is the fourth character in the
string
.
KL( )
Logs caller into User ID.
Note
Cannot be used in the Notify Menu.
Syntax
KL(uid)
where:
uid
Valid User ID.
Example
KL(239)
Logs the caller into User ID 239
Table 5-3
Defined Tokens
(continued)
Token
Description
Summary of Contents for Strata CIX GVPH
Page 10: ...This page is intentionally left blank ...
Page 102: ...This page is intentionally left blank ...
Page 122: ...This page is intentionally left blank ...
Page 144: ...This page is intentionally left blank ...
Page 152: ...This page is intentionally left blank ...