I just answered a similar question based on phone number ranges here: https://supportforums.cisco.com/message/3988000#3988000
Convert the customer entered digits into a number first.
caller_input = Get Digit String
Set the_number = int.parseInt(caller_input)
Where caller_input is a String and the_number is an int.
Next create your If ranges.
If (the_number >= 1 && the_number <= 10)
True
Set CSQ ="CSQ1"
Goto Select Resource Section
False
/* Do nothing if false */
If (the_number >= 11 && the_number <= 20)
True
Set CSQ ="CSQ2"
Goto Select Resource Section
False
/* Do nothing if false */
Hope the helps.
Anthony
Sent from Cisco Technical Support iPhone App