[Freeswitch-users] Issue with playAndGetDigit

Gonzalo Servat gservat at gmail.com
Fri Nov 7 03:24:27 PST 2008


On Fri, Nov 7, 2008 at 6:08 AM, Juan Backson <juanbackson at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/e2caff40/attachment-0002.html 


More information about the FreeSWITCH-users mailing list