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

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

digit counter

Is there a way to count digits entered by the get digit string to verify the correct number entered?

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: digit counter

Hi aelee1,

You talking about UCCX / IP IVR? If so then you can take the input and just use a .length() method on it and assign it to a variable or something.

ie

inputlength_variable = input_variable.length()

For CVP if you use a GD microapp you can then just do a len(Call.CallerEnteredDigits) immediately after the CED block and do whatever you want to it.

Cheers,

Nathan

4 REPLIES
New Member

Re: digit counter

If you are talking about Microapp "GD" then the maximum or minimum expected digits condition is added in the "Configuration param" parameter in Network VRU Script List.

Bronze

Re: digit counter

Hi aelee1,

You talking about UCCX / IP IVR? If so then you can take the input and just use a .length() method on it and assign it to a variable or something.

ie

inputlength_variable = input_variable.length()

For CVP if you use a GD microapp you can then just do a len(Call.CallerEnteredDigits) immediately after the CED block and do whatever you want to it.

Cheers,

Nathan

New Member

Re: digit counter

Nathan:

That was just what I was looking for.

Thanks for the Help

Art

Green

Re: digit counter

Please remember to specify UCCX or UCCE in your questions. If UCCE, please specify IPIVR or CVP.

I'm not aiming this at you Art, but just taking this opportunity to reiterate this very basic point, since others will read this thread. Some put the platform in the subject line, making it much clearer - a good idea.  This is a huge timesaver for those who respond.

The better the question, the better (and faster) the assistance.

Thanks for your indulgence.

Regards,

Geoff

277
Views
4
Helpful
4
Replies
CreatePlease to create content