Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use VIV - Variables in Vectors 1

Status
Not open for further replies.

wfranklin

Programmer
Jun 19, 2012
140
US
Hi guys,

I've a IVR, that it contains the options 1,2,3,4,9 all that be different is incorrect. Then, I should give a annoucement with info: "Digit incorrect" the process must be 3 times, after this I give a annoucement with info that I'm disconnecting the caller. How I can to do this, using the "Variable" on the Vector? I declared on the "change variables" but I cant understand how this process test my variable, and I dont know too how to set this in Vector.If possible, show me a example.

Thanks
 
change variables:
variable A (or whichever variable you'd prefer)
description Error Counter
type collect
scope L (local)
length 1
start 1

in your vector:
1 wait 2 seconds hearing ringback
2 collect 1 digits after announcement xxxx for none
3 goto step 12 if digits = 1
4 goto step xx if digits = 2
5 goto step xx if digits = 3
6 goto step xx if digits = 4
7 goto step xx if digits = 9
8 announcement xxxx ("Incorrect Option")
9 set A = A ADD 1
10 goto step 2 if A <= 3
11 disconnect after annoucement xxxx ("goodbye")
12 # Option 1 Handler
(et cetera)


 
Oh thanks for you response.

But, I have a other question.

What mean this " # " in the vectores? I see this but I dont know this mean rs.

Tks
 

# is a commented line

- Stinney
"Scire ubi aliquid invenire possis, ea demum maxima pars eruditionis est"

"To know where to find anything is, after all, the greatest part of education"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top