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!

UPDATE - Verify the Number you're calling from...

Extension Verify

UPDATE - Verify the Number you're calling from...

by  kristiandg  Posted    (Edited  )
Phoneman2 wrote an awesome FAQ back in 2003 that showed people how to write a vector so the system will speak back to you with the extension you're calling from (great for analog ports, and older digital phones that didn't natively display your number on the screen):
http://tek-tips.com/faqs.cfm?fid=4624

As the system's feature set has expanded, people may work in a blended environment (4-, 5-, or 7- digit extensions), and with newer software vectors have now become 99 steps. So, I enhanced this a bit, and gave it a tad more logic to identify a blended extension environment (its built to handle up to 10 digits, so could work for external calls as well). Here you go, enjoy. In the below examples, the last digit of each announcement number IS the spoken digit.

I tried like mad to see if I could use a system-wide variable to jump positions in the ANI and Announcement Filename, which would have reduced this to 1 vector and make it handle unlimited length ANI (using a cyclic counter to step), but darn if I ultimately couldn't get the system to change positions easily. If any of you know sys variables well enough, that would make this just uber-awesome.

CALL VECTOR

Number: 965 Name: Caller ID Dg1-3
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 3.0 Enhanced? y
01 wait-time 1 secs hearing ringback
02 goto step 12 if ani = 1+
03 goto step 14 if ani = 2+
04 goto step 16 if ani = 3+
05 goto step 18 if ani = 4+
06 goto step 20 if ani = 5+
07 goto step 22 if ani = 6+
08 goto step 24 if ani = 7+
09 goto step 26 if ani = 8+
10 goto step 28 if ani = 9+
11 goto step 30 if ani = 0+
12 announcement 1997891
13 goto step 31 if unconditionally
14 announcement 1997892
15 goto step 31 if unconditionally
16 announcement 1997893
17 goto step 31 if unconditionally
18 announcement 1997894
19 goto step 31 if unconditionally
20 announcement 1997895
21 goto step 31 if unconditionally
22 announcement 1997896
23 goto step 31 if unconditionally
24 announcement 1997897
25 goto step 31 if unconditionally
26 announcement 1997898
27 goto step 31 if unconditionally
28 announcement 1997899
29 goto step 31 if unconditionally
30 announcement 1997890
31 goto step 98 if ani = ?
32 goto step 42 if ani = ?1+
33 goto step 44 if ani = ?2+
34 goto step 46 if ani = ?3+
35 goto step 48 if ani = ?4+
36 goto step 50 if ani = ?5+
37 goto step 52 if ani = ?6+
38 goto step 54 if ani = ?7+
39 goto step 56 if ani = ?8+
40 goto step 58 if ani = ?9+
41 goto step 60 if ani = ?0+
42 announcement 1997891
43 goto step 62 if unconditionally
44 announcement 1997892
45 goto step 62 if unconditionally
46 announcement 1997893
47 goto step 62 if unconditionally
48 announcement 1997894
49 goto step 62 if unconditionally
50 announcement 1997895
51 goto step 62 if unconditionally
52 announcement 1997896
53 goto step 62 if unconditionally
54 announcement 1997897
55 goto step 62 if unconditionally
56 announcement 1997898
57 goto step 62 if unconditionally
58 announcement 1997899
59 goto step 62 if unconditionally
60 announcement 1997890
61 goto step 62 if unconditionally
62 goto step 98 if ani = ??
63 goto step 73 if ani = ??1+
64 goto step 75 if ani = ??2+
65 goto step 77 if ani = ??3+
66 goto step 79 if ani = ??4+
67 goto step 81 if ani = ??5+
68 goto step 83 if ani = ??6+
69 goto step 85 if ani = ??7+
70 goto step 87 if ani = ??8+
71 goto step 89 if ani = ??9+
72 goto step 91 if ani = ??0+
73 announcement 1997891
74 goto vector 966 @step 1 if unconditionally
75 announcement 1997892
76 goto vector 966 @step 1 if unconditionally
77 announcement 1997893
78 goto vector 966 @step 1 if unconditionally
79 announcement 1997894
80 goto vector 966 @step 1 if unconditionally
81 announcement 1997895
82 goto vector 966 @step 1 if unconditionally
83 announcement 1997896
84 goto vector 966 @step 1 if unconditionally
85 announcement 1997897
86 goto vector 966 @step 1 if unconditionally
87 announcement 1997898
88 goto vector 966 @step 1 if unconditionally
89 announcement 1997899
90 goto vector 966 @step 1 if unconditionally
91 announcement 1997890
92 goto vector 966 @step 1 if unconditionally
93 goto step 99 if ani = ???+
94
95
96
97
98 disconnect after announcement none
99 goto vector 966 @step 1 if unconditionally

CALL VECTOR

Number: 966 Name: Caller ID Dg4-6
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 3.0 Enhanced? y
01 goto step 11 if ani = ???1+
02 goto step 13 if ani = ???2+
03 goto step 15 if ani = ???3+
04 goto step 17 if ani = ???4+
05 goto step 19 if ani = ???5+
06 goto step 21 if ani = ???6+
07 goto step 23 if ani = ???7+
08 goto step 25 if ani = ???8+
09 goto step 27 if ani = ???9+
10 goto step 29 if ani = ???0+
11 announcement 1997891
12 goto step 30 if unconditionally
13 announcement 1997892
14 goto step 30 if unconditionally
15 announcement 1997893
16 goto step 30 if unconditionally
17 announcement 1997894
18 goto step 30 if unconditionally
19 announcement 1997895
20 goto step 30 if unconditionally
21 announcement 1997896
22 goto step 30 if unconditionally
23 announcement 1997897
24 goto step 30 if unconditionally
25 announcement 1997898
26 goto step 30 if unconditionally
27 announcement 1997899
28 goto step 30 if unconditionally
29 announcement 1997890
30 goto step 98 if ani = ????
31 goto step 41 if ani = ????1+
32 goto step 43 if ani = ????2+
33 goto step 45 if ani = ????3+
34 goto step 47 if ani = ????4+
35 goto step 49 if ani = ????5+
36 goto step 51 if ani = ????6+
37 goto step 53 if ani = ????7+
38 goto step 55 if ani = ????8+
39 goto step 57 if ani = ????9+
40 goto step 59 if ani = ????0+
41 announcement 1997891
42 goto step 60 if unconditionally
43 announcement 1997892
44 goto step 60 if unconditionally
45 announcement 1997893
46 goto step 60 if unconditionally
47 announcement 1997894
48 goto step 60 if unconditionally
49 announcement 1997895
50 goto step 60 if unconditionally
51 announcement 1997896
52 goto step 60 if unconditionally
53 announcement 1997897
54 goto step 60 if unconditionally
55 announcement 1997898
56 goto step 60 if unconditionally
57 announcement 1997899
58 goto step 60 if unconditionally
59 announcement 1997890
60 goto step 98 if ani = ?????
61 goto step 71 if ani = ?????1+
62 goto step 73 if ani = ?????2+
63 goto step 75 if ani = ?????3+
64 goto step 77 if ani = ?????4+
65 goto step 79 if ani = ?????5+
66 goto step 81 if ani = ?????6+
67 goto step 83 if ani = ?????7+
68 goto step 85 if ani = ?????8+
69 goto step 87 if ani = ?????9+
70 goto step 89 if ani = ?????0+
71 announcement 1997891
72 goto step 90 if unconditionally
73 announcement 1997892
74 goto step 90 if unconditionally
75 announcement 1997893
76 goto step 90 if unconditionally
77 announcement 1997894
78 goto step 90 if unconditionally
79 announcement 1997895
80 goto step 90 if unconditionally
81 announcement 1997896
82 goto step 90 if unconditionally
83 announcement 1997897
84 goto step 90 if unconditionally
85 announcement 1997898
86 goto step 90 if unconditionally
87 announcement 1997899
88 goto step 90 if unconditionally
89 announcement 1997890
90 goto step 99 if ani = ??????+
91
92
93
94
95
96
97
98 disconnect after announcement none
99 goto vector 967 @step 1 if unconditionally

CALL VECTOR

Number: 967 Name: Caller ID Dg7-9
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 3.0 Enhanced? y
01 goto step 11 if ani = ??????1+
02 goto step 13 if ani = ??????2+
03 goto step 15 if ani = ??????3+
04 goto step 17 if ani = ??????4+
05 goto step 19 if ani = ??????5+
06 goto step 21 if ani = ??????6+
07 goto step 23 if ani = ??????7+
08 goto step 25 if ani = ??????8+
09 goto step 27 if ani = ??????9+
10 goto step 29 if ani = ??????0+
11 announcement 1997891
12 goto step 30 if unconditionally
13 announcement 1997892
14 goto step 30 if unconditionally
15 announcement 1997893
16 goto step 30 if unconditionally
17 announcement 1997894
18 goto step 30 if unconditionally
19 announcement 1997895
20 goto step 30 if unconditionally
21 announcement 1997896
22 goto step 30 if unconditionally
23 announcement 1997897
24 goto step 30 if unconditionally
25 announcement 1997898
26 goto step 30 if unconditionally
27 announcement 1997899
28 goto step 30 if unconditionally
29 announcement 1997890
30 goto step 98 if ani = ???????
31 goto step 41 if ani = ???????1+
32 goto step 43 if ani = ???????2+
33 goto step 45 if ani = ???????3+
34 goto step 47 if ani = ???????4+
35 goto step 49 if ani = ???????5+
36 goto step 51 if ani = ???????6+
37 goto step 53 if ani = ???????7+
38 goto step 55 if ani = ???????8+
39 goto step 57 if ani = ???????9+
40 goto step 59 if ani = ???????0+
41 announcement 1997891
42 goto step 60 if unconditionally
43 announcement 1997892
44 goto step 60 if unconditionally
45 announcement 1997893
46 goto step 60 if unconditionally
47 announcement 1997894
48 goto step 60 if unconditionally
49 announcement 1997895
50 goto step 60 if unconditionally
51 announcement 1997896
52 goto step 60 if unconditionally
53 announcement 1997897
54 goto step 60 if unconditionally
55 announcement 1997898
56 goto step 60 if unconditionally
57 announcement 1997899
58 goto step 60 if unconditionally
59 announcement 1997890
60 goto step 98 if ani = ????????
61 goto step 71 if ani = ????????1+
62 goto step 73 if ani = ????????2+
63 goto step 75 if ani = ????????3+
64 goto step 77 if ani = ????????4+
65 goto step 79 if ani = ????????5+
66 goto step 81 if ani = ????????6+
67 goto step 83 if ani = ????????7+
68 goto step 85 if ani = ????????8+
69 goto step 87 if ani = ????????9+
70 goto step 89 if ani = ????????0+
71 announcement 1997891
72 goto step 90 if unconditionally
73 announcement 1997892
74 goto step 90 if unconditionally
75 announcement 1997893
76 goto step 90 if unconditionally
77 announcement 1997894
78 goto step 90 if unconditionally
79 announcement 1997895
80 goto step 90 if unconditionally
81 announcement 1997896
82 goto step 90 if unconditionally
83 announcement 1997897
84 goto step 90 if unconditionally
85 announcement 1997898
86 goto step 90 if unconditionally
87 announcement 1997899
88 goto step 90 if unconditionally
89 announcement 1997890
90 goto step 99 if ani = ?????????+
91
92
93
94
95
96
97
98 disconnect after announcement none
99 goto vector 968 @step 1 if unconditionally

CALL VECTOR

Number: 968 Name: Caller ID Dg10
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 3.0 Enhanced? y
01 goto step 11 if ani = ?????????1+
02 goto step 13 if ani = ?????????2+
03 goto step 15 if ani = ?????????3+
04 goto step 17 if ani = ?????????4+
05 goto step 19 if ani = ?????????5+
06 goto step 21 if ani = ?????????6+
07 goto step 23 if ani = ?????????7+
08 goto step 25 if ani = ?????????8+
09 goto step 27 if ani = ?????????9+
10 goto step 29 if ani = ?????????0+
11 announcement 1997891
12 goto step 30 if unconditionally
13 announcement 1997892
14 goto step 30 if unconditionally
15 announcement 1997893
16 goto step 30 if unconditionally
17 announcement 1997894
18 goto step 30 if unconditionally
19 announcement 1997895
20 goto step 30 if unconditionally
21 announcement 1997896
22 goto step 30 if unconditionally
23 announcement 1997897
24 goto step 30 if unconditionally
25 announcement 1997898
26 goto step 30 if unconditionally
27 announcement 1997899
28 goto step 30 if unconditionally
29 announcement 1997890
30 goto step 31 if ani = ??????????
31 disconnect after announcement none
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