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!

Collecting digits for CTI lookup

Status
Not open for further replies.

asalinas80

Technical User
May 7, 2015
1
0
0
MX
We are doing a collect digit step and then doing an adjunct lookup to our IC system…. We do this every day and don’t have an issue..but we want to also validate the number of digits…. (this is not something we normally do). The Client wants us to validate and if they don’t put in 8 digits, to keep re-prompting them.

So what we have found… if we put in digits “12341234” the system will work correctly… but if we put in any other digits (like “12345678”, “98765432”, “11111111” or anything other than “12341234”) then it wont process the call.

We are lost… SUGGESTIONS?


Here is our vector today…
CALL VECTOR

Number: 1284 Name: Energizer Skill
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 set AA = V1 CATL none
02 set AB = V1 CATL none
03 set AC = V2 CATL none
04 set AD = V2 CATL none
05 set AE = V3 CATL none
06 set AF = V3 CATL none
07 set AG = V4 CATL none
08 set AH = V4 CATL none
09 set AI = V5 CATL none
10 set AJ = V5 CATL none
11 set AK = V6 CATL none
12 set AL = V6 CATL none
13 set AM = V7 CATL none
14 set AN = V7 CATL none
15 set AO = V8 CATL none
16 set AP = V8 CATL none
17 set AQ = V9 CATL none
18 set AR = V9 CATL none
19 wait-time 1 secs hearing silence
20 goto step 34 if staffed-agents in skill 1st < 1
21 set AT = none ADD none
22 collect 8 digits after announcement AA for AT
23 set AT = digits MOD10 8
24 wait-time 2 secs hearing silence
25 goto step 53 if AT <> 8
26 adjunct routing link 52
27 announcement AC
28 queue-to skill 1st pri m
29 wait-time 20 secs hearing music
30 queue-to skill 2nd pri m
31 wait-time 50 secs hearing music
32 goto step 31 if unconditionally
33 stop
34 disconnect after announcement AE
53 announcement AB
54 goto step 21 if unconditionally
 
you are just checking for string length.. right?
how about changing line 25 to
25 goto step 53 if AT = #

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top