I'm trying to compare a DTMF string using IVR and am having problems.
I need to check that the DTMF number entered is between a lower and upper bound.
I tried the following:
IF:$DTMF>59;NEXT:;GOTO:INVALID_ENTRY
IF:$DTMF<100;NEXT:;GOTO:INVALID_ENTRY
# Number is OK here
SPEAK:Your entry was valid
....
LABEL:INVALID_ENTRY
SPEAK:Your entry was not valid
Can greater than (> and less than (< be used for DTFM string comparisons? If not, does anybody have any ideas as to how to do this comparison in IVR (maybe using VBSCRIPT?
Thanks,
Doug Woolridge
I need to check that the DTMF number entered is between a lower and upper bound.
I tried the following:
IF:$DTMF>59;NEXT:;GOTO:INVALID_ENTRY
IF:$DTMF<100;NEXT:;GOTO:INVALID_ENTRY
# Number is OK here
SPEAK:Your entry was valid
....
LABEL:INVALID_ENTRY
SPEAK:Your entry was not valid
Can greater than (> and less than (< be used for DTFM string comparisons? If not, does anybody have any ideas as to how to do this comparison in IVR (maybe using VBSCRIPT?
Thanks,
Doug Woolridge
Comment