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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global Variable Assignment

Status
Not open for further replies.

Jsaunde7

IS-IT--Management
Mar 24, 2016
149
US
I'm using a global variable for management to use where they call an announcement that collects 2 digits for them to change overflow routing when calls get to a certain threshold. For example:
Vector 1
collect 2 digits after announcement 1234for DA
Vector 2
wait-time 2 secs hearing ringback
02 goto step 5 if calls-queued in skill 1st pri h >= DA
03 return
04
05 route-to number 9~p12344445555 with cov n if unconditionally
06 goto step 5 if unconditionally

What I'm trying to do if possible is to give them a way to know what DA is currently set at before they call and make a change to the value assignment.
 
Perhaps you could record a few announcements for different ranges of DA and then have the vector play the appropriate announcement if DA is > some value. I think that would be easiest instead of trying to find a way to play the exact value of DA.
 

You might be able to use what is here for reading back ANI faq690-4624, but change "if ani =" to "if DA ="

You would only need the first 2 vectors in the example if you're trying to read back a 2 digit number.



- Stinney

“The man who asks a question is a fool for a minute, the man who does not ask is a fool for life.” - Confucius
 
@Stinney,

This kind of makes sense but how is that reading back the 2 digit number from those vectors in this example/link
 
you got advanced vectoring?

Presuming you only need 2 digits, what if they were A and B.

C=CATR A and B

C is the total wait time

02 goto step 5 if calls-queued in skill 1st pri h >= C


But the call-in check vector says

announcement 1000 "your threshold is"
Go to stop 11 if A=1
go to step 12 if A=2
...
announcement 1001 "1"
announcement 1002 "2"
...
Go to stop 21 if B=1 "1"
go to step 22 if B=2 "2"
...
announcement 1099 "seconds"


That way you could at least say "your threshold is 3-5-seconds"
 

Say AD is set to 15


CALL VECTOR

Number: 60 Name: Extension Verify
Meet-me Conf? n Lock? n
Basic? y EAS? y G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? y
Prompting? y LAI? n G3V4 Adv Route? y CINFO? n BSR? n Holidays? y

01 wait-time 0 secs hearing ringback
02 announcement 76063 This is your introduction like "Skill set to...."
03 goto step 12 if ani = 1+ If the first number in the skill is 1 then it's going to go to step 12
04 goto step 14 if ani = 2+
05 goto step 16 if ani = 3+
06 goto step 18 if ani = 4+
07 goto step 20 if ani = 5+
08 goto step 22 if ani = 6+
09 goto step 24 if ani = 7+
10 goto step 26 if ani = 8+
11 stop
12 announcement 76041 This announcement is "One"
13 goto vector 61 if unconditionally Now it goes to the second vector to get the second number
...


CALL VECTOR

Number: 61 Name: Ext Verify 2#
Meet-me Conf? n Lock? n
Basic? y EAS? y G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? y
Prompting? y LAI? n G3V4 Adv Route? y CINFO? n BSR? n Holidays? y

01 wait-time 0 secs hearing silence
02 goto step 12 if ani = ?0+
03 goto step 14 if ani = ?1+
04 goto step 16 if ani = ?2+
05 goto step 18 if ani = ?3+
06 goto step 20 if ani = ?4+
07 goto step 22 if ani = ?5+ This determines the second number is 5 and goes to step 22(if you're just doing 2 digit skills the + isn't needed
08 goto step 24 if ani = ?6+
09 goto step 26 if ani = ?7+
10 goto step 28 if ani = ?8+
11 goto step 30 if ani = ?9+
12 announcement 76040
13 goto vector 62 if unconditionally
14 announcement 76041
15 goto vector 62 if unconditionally
16 announcement 76042
17 goto vector 62 if unconditionally
18 announcement 76043
19 goto vector 62 if unconditionally
20 announcement 76044
21 goto vector 62 if unconditionally
22 announcement 76045 This announcement is "Five"
23 goto vector 62 if unconditionally You would change these to go to the vector you want after reading the number
....

- Stinney

“The man who asks a question is a fool for a minute, the man who does not ask is a fool for life.” - Confucius
 
@ Stinney,

Thanks as this is what I was looking to do. I have created it in my test environment and it's doing exactly what I need...I used one vector instead of flowing to another vector(used all 99 steps)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top