Hello, I have to develop a script for a CUE IVR Application. The wellcome annuncement says "If you know the extension, dial it, or dial 1 for XXXX or 2 for YYYY". The extension numbers are five digits long. If I configure the Get Digit String with an input Length of 5, what will happend if a caller just press numbers 1 or 2 (one digint long)? Will it wait for the timout and then take this number or will it fail because it waits for five digits? The announcemnt doesn't say to press "#" for terminating the input, so most caller won't do that.
Second, in the case it doesn't fail, how could I check if the input is and extension or not? Is there something like "If lengh(variable) == 5 Then"? I tried that but I got an error with identifir Length.
Do you think there is a way to resolve that?
Thank you,
Diego.