[Freeswitch-users] Problem with PlayAndGetDigits

Keith Wood keith.wood2000 at gmail.com
Fri Oct 17 08:01:27 EDT 2008


Hi Brian,

Yes, it is inband.  In my lua script, I used 1|2|3|5 instead of (.*).  In
the log, it is shown that:

 lua(run_ivr.lua 1 1 3 3000 #  /audio/admin_menu.wav
/audio/invalid_input.wav 1|2|3|5  admin_selection )
Any suggestion on how to fix this?
Also, I am trying to find a way to extract the specific terminator that the
user enters.  Is it possible to do within the scope of Freeswitch?

Thanks,
Keith




On Fri, Oct 17, 2008 at 4:24 PM, Brian West <brian at freeswitch.org> wrote:

> Does this happen to be inband?  And the regexp is what is used to tell
> what is valid vs invalid.  You put in (.*) where I think you wanted
> ([1235])
>
> /b
>
> On Oct 16, 2008, at 9:19 PM, Keith Wood wrote:
>
> > Hi,
> >
> > I am finding some problems when using PlayAndGetDigits within lua.
> > As seen in the log below, I set the retry count to '3' and valid
> > digit to be 1,2,3, or 5.  I pressed 9 for every retry attempt, and
> > found that Freeswitch actually let me retry for more than 3 times.
> > Moreover, Freeswitch reports DTMF of 99 is received even though I
> > only pressed 9.  At the end, it reports 99 as the final result.
> >
> > Does anyone know if this is a config problem or a bug?
> >
> > Thanks,
> > Keith
> >
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081017/128c7a08/attachment.html 


More information about the Freeswitch-users mailing list