7 Nov
2008
7 Nov
'08
11:24 a.m.
On Fri, Nov 7, 2008 at 6:08 AM, Juan Backson <juanbackson@gmail.com> wrote:
Hi,
I am encountering an issue when using playAndGetDigit. I have the regex set as 1|2|3|4|5|6, and then pressed 9, it gives error as expected. Then, I pressed 2. This time it passes, but the digit being returned by playAndGetDigit is 92, instead of just 2.
Also, the voice prompt seems a bit strange as well. For the first time I entered an invalid response, I would hear just the invalid prompt defined as one of the parameter, but for the second time I entered an invalid response, I would hear both the invalid prompt and the normal prompt. Is this normal?
Show us the relevant code you're using. - Gonzalo