Avaya Media Processing Server Series System (Software Release 2.1) Manual do Utilizador Página 202

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 306
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 201
Avaya Media Processing Server Series System Reference Manual
Page 202 # P0602477 Ver: 3.1.11
Example Call Simulation Script Files
Two sample call simulation files are shown below. The first listing illustrates a simple
looping script. The second is more complex and includes two different scenarios that
run randomly, as well as a randomly timed asynchronous disconnect and script restart.
For additional information regarding commands used in these scripts, see “Script
Commands” on page 196.
start
label 123:
Delay 1~ # Wait 10-19 seconds before starting
send "MkCall 1" # Simulate a call (ring once)
Delay 3 # Wait 3 seconds
send "TT 2" # Enter (touchtone) 2
Delay 5 # Wait 5 seconds
send "TT 9876#" # Enter (touchtones) 9, 8, 7, 6, and
Delay 7 # Wait 7 seconds
send "HangUp" # Simulate a disconnect
goto 123
# Go to beginning (label) of script
end
start
asynch "HangUp" in ~~
# Hang up in 00-99 seconds
label 123:
Delay 10 # Wait 10 seconds before starting
send "MkCall 1" # Simulate a call (ring once)
Delay 2 # Wait 2 seconds
$VAR = [0-1] # Global variable set to 0 or 1
if $VAR = 0 { # Initial "if" statement, executed
# only if variable is 0
send "TT 2" # Enter (touchtone) 2
Delay 5 # Wait 5 seconds
send "TT 9876#" # Enter (touchtones) 9, 8, 7, 6, and
# the octothorp
Delay 7 # Wait 7 seconds
}
else { # Secondary "if" statement, executed
# only if variable is NOT 0
repeat 3 { # Repeat the following commands 3 times
send "TT ~_" # Enter random 2 digit touchtone,
# which may include an asterisk
# or octothorp in
# the second position
Delay ~ # Wait from 0 to 9 seconds
}
}
send "HangUp" # Simulate a disconnect
goto 123 # Go to "label" in script and generate
# another call
end
Vista de página 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 305 306

Comentários a estes Manuais

Sem comentários