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

Using Variables in a vector (on call rotation)

Vector Programming

Using Variables in a vector (on call rotation)

by  RTMCKEE  Posted    (Edited  )
Do you alternate weekly on call?

We do here between 3 people. We use our own cell phones for on call and have an internal VDN that routes calls to our phone. This has been working pretty well, but we have to manually go in and change the vector every week. In my never ending quest to use variables in a vector, I came up with an IVR like vector that tells you who is currently on call, and gives you the option to change the on call person. This enables other people without phone system access to change the on call rotation (i.e. data network team)

This takes only one vdn, one vector, and one variable in addition to the existing vdn and vector to route the internal VDN to the on call person.

1st the on-call selector vector:


Number: 123 Name: IT ONCALL
Multimedia? n Attendant Vectoring? n Meet-me Conf? n Lock? n
Basic? y EAS? y G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? y
Prompting? y LAI? y G3V4 Adv Route? y CINFO? y BSR? y Holidays? y
Variables? y
01 wait-time 0 secs hearing silence
02 announcement 8733 (thank you for calling the On call selector program. This weeks on call person is)
03 goto step 7 if I = 1
04 goto step 9 if I = 2
05 goto step 11 if I = 3
06 stop
07 announcement 3734 (Tom)
08 goto step 14 if unconditionally
09 announcement 3735 (Mike)
10 goto step 14 if unconditionally
11 announcement 3736 (Bob)
12 goto step 14 if unconditionally
13 stop
14 collect 1 digits after announcement 3737 for none (to change the on call person please press 1)
15 goto step 18 if digits = 1
16 disconnect after announcement 3738 (thank you for using the on call selector program, Good bye)
17 stop
18 collect 1 digits after announcement 3739 for I (this is where you set the variable value. The announcement says: for Tom press 1, Mike press 2, Bob press 3)
19 disconnect after announcement 3738(thank you for using the on call selector program, Good bye)
20 stop

set up variable I:
(cha variable)

VARIABLES FOR VECTORS


Var Description Type Scope Length Start Assignment VAC

A
B
C
D
E
F
G
H
I IT On Call Person collect G 1 1 1


Change existing VDN to route to cell phone based on variable value:

CALL VECTOR

Number: 48 Name: IT on call
Multimedia? n Attendant Vectoring? n Meet-me Conf? n Lock? n
Basic? y EAS? y G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? y
Prompting? y LAI? y G3V4 Adv Route? y CINFO? y BSR? y Holidays? y
Variables? y
01 wait-time 2 secs hearing ringback
02 goto step 7 if I = 1
03 goto step 8 if I = 2
04 goto step 9 if I = 3
05 stop
06
07 route-to number 9TomÆs cell number with cov n if unconditionally
08 route-to number 9MikeÆs cell number with cov n if unconditionally
09 route-to number 9BobÆs cell number with cov n if unconditionally
10 stop

And there you are, an automated IVR like on call selector program!

RTMCKEE
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top