[Freeswitch-users] Issue with playAndGetDigit

Juan Backson juanbackson at gmail.com
Fri Nov 7 00:08:16 PST 2008


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/2c17e35f/attachment-0002.html 

More information about the FreeSWITCH-users mailing list