11-19-2008 10:36 PM - last edited on 03-25-2019 07:12 PM by ciscomoderator
Hi
I have a script
where i use GetDigitString.
in the fourth pane i can define the length of the DigitString. [Input Length:]
I need it to be exactly 5 characters long
composed by 4 digits and a trailing #
What is the best way to do this.
Solved! Go to Solution.
11-20-2008 08:25 AM
I've not used CRS in a long time, but wont your formula allow 123# to go through?
david
11-20-2008 12:25 AM
I assume you probably have 4 and 5 digits dialpans, maybe you should use timeout option of GetDigitString, when only 4 digit are sent.
For example the SendDigits object in the case of timeout..
11-20-2008 12:34 AM
I was kinda of hoping i could solve this by
(im new at this) Changing the value of InputLength to something like InputLength = 5 chracters
11-20-2008 05:15 AM
Solved it by
adding a new IF sentence under the Succesfull criteria, containing a string variable, with the condition like this:
strNewClose.length() ==4
if true, then continue, if false play error message and go back to step before :)
i got help from my local cisco expert.
11-20-2008 08:25 AM
11-20-2008 10:42 AM
allmost ... i want it to allow 1234 and to end it by # :) bu i got it working :) lik i said above
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide