Syntax of server conditionals

Last Updated : Sep 08, 2012 |
Prolog information
The syntax of the server conditionals is as follows:
goto step [1-99] if server
 [=, <>] 
[main, ess, lsp]
goto vector
 [1-99] @step [1-99] if server [=, <>] 
[main, ess, lsp]
Parameter
Description
server
The server currently processing the vector step for the call
main
The main or primary server for the network or switch configuration
ess
An Enterprise Survivable Server (ESS) as a backup server. The S8500 is an example of an ESS.
lsp
A Local Survivable Processor (LSP) that has been activated to act as a backup server for media gateway control. The S8300 is an example of an LSP.

Example 1

Use the following example to change queue-to skill from 20 to 30 if the server is the LSP.
1. go to step 4 if server = lsp
2. queue-to skill 20 pri 1
3. goto step 5 unconditionally
4. queue-to skill 30 pri 1
5. wait-time 10 secs hearing ringback
6. announcement 1000
7. wait-time 60 secs hearing music
8. goto step 6 unconditionally

Example 2

Use the following example to bypass the VRU if port network 5 is not registered. In this example, the VRU ports terminate on port network 5.
1. wait-time 0 secs hearing ringback
2. goto step 6 if port-network 5 <> registered
3. converse-on skill 50 pri 1 passing vdn and ani
4. collect 7 digits after announcement none
5. route-to digits
6. queue-to skill 25 pri 1
7. wait-time 10 secs hearing ringback
8. ...