digit counter

Answered Question
Feb 16th, 2010
User Badges:

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

Correct Answer by Nathan Luk about 7 years 3 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
shaheeramunir Tue, 02/16/2010 - 21:11
User Badges:

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.

Correct Answer
Nathan Luk Tue, 02/16/2010 - 23:10
User Badges:
  • Bronze, 100 points or more

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

aelee1 Wed, 02/17/2010 - 08:32
User Badges:

Nathan:

That was just what I was looking for.

Thanks for the Help


Art

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

Actions

This Discussion