Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

UCCX Modulus 11 Check against Caller Entered Digits

I was wondering if someone could help with a solutions to a request I have to check a Caller Entered Digits (which be a length of 10) using Modulus 11.

I presume that I need to convert the string to Long and perform and if but I don't have a clue how to do the detailed sum required to check the right most digit.

Below is modulus 11 check I need to perform and the enter number to check it's a valid number.

Step 1

Multiply each of the first nine digits by a weighting factor as follows:

Digit Position
(Starting from the left)
Factor
110
29
38
47
56
65
74
83
92

Step 2 Add the results of each multiplication together.

Step 3 Divide the total by 11 and establish the remainder.

Step 4 Subtract the remainder from 11 to give the check digit. If the result is 11 then a check digit of 0 is used. If the result is 10 then the NUMBER is invalid and not used.

Step 5 Check the remainder matches the 10th digit. If it does not, the NUMBER is invalid.

I am not a programmer so I would need to know the steps in script editor I would need to perform.

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: UCCX Modulus 11 Check against Caller Entered Digits

You need to try this with some real account numbers

Graham

2 REPLIES
Silver

Re: UCCX Modulus 11 Check against Caller Entered Digits

You need to try this with some real account numbers

Graham

New Member

Re: UCCX Modulus 11 Check against Caller Entered Digits

Great Thanks Graham this worked a treat

620
Views
0
Helpful
2
Replies
CreatePlease to create content