Customization Examples
Users Menu Examples
6-2
Strata CIX40 Voice Processing Programming Manual 7/06
Using a Status User ID to Check Message Count for Multiple
User IDs
The creation of the status User ID involves using an optional argument.
Suppose that one person owns several User IDs that he/she has given out to different classes
of callers (personal friends one number, business clients another, etc.). This person would like
to be able to call in to check if any of these User IDs have messages waiting for him without
having to access each User ID in turn.
The token string
P(Gn)
plays greeting
n
for the current User ID or
P(M)
plays the total number
of messages and number of new messages for the current User ID. This is normally what you
want.
However, the
P( )
token takes an optional second argument, which in some cases indicates
another User ID whose information is to be played. Using this feature, you can create a status
User ID that tells the number of messages waiting in several other User IDs.
Program Example
In the following example:
•
Message User IDs: 1000, 2000, 3000
•
Status User ID: 9999
!
To program the example
For User ID 9999, define the user’s record to contain:
How It Works
For each of the three User IDs, the name recording associated with the User ID plays,
followed by the total number of messages and number of new messages waiting for that User
ID.
Extension
@P(U,1000)P(M,1000)P(U,2000)P(M,2000)P(U,3000)P(M,3000)
@
Suppress normal process
P(U,1000)
Plays the name recording for User ID 1000. If no recording exists, says the User ID
number.
P(M,1000)
Says the total number of messages and number of new messages for User ID 1000.
P(U,2000)
Plays the name recording for User ID 2000. If no recording exists, says the User ID
number.
P(M,2000)
Says the total number of messages and number of new messages for User ID 2000.
P(U,3000)
Plays the name recording for User ID 3000. If no recording exists, says the User ID
number.
P(M,3000)
Says the total number of messages and number of new messages for User ID 3000.
Содержание Strata CIX GVPH
Страница 10: ...This page is intentionally left blank ...
Страница 102: ...This page is intentionally left blank ...
Страница 122: ...This page is intentionally left blank ...
Страница 144: ...This page is intentionally left blank ...
Страница 152: ...This page is intentionally left blank ...
Страница 176: ...This page is intentionally left blank ...
Страница 184: ...This is the last page of the document ...