[Freeswitch-users] How do I get freeswitch variable which has DTMF values.

velusamy velu velu.technical at gmail.com
Thu Sep 24 23:55:46 PDT 2009


Dear Sir,
      If I disable the async mode in socket, the playAndGetDigits doesn't
exit after getting the DTMF value. It exit after time out seconds. But I
need to exit when DTMF digit is got.
  My subroutine call is,
$conn->playAndGetDigits(1,1,1,8000,'#',"$play_list","ivr/ivr-please.wav","res","\\d+");

 Is there any way to overcome this problem?

Please help me...

On Fri, Sep 25, 2009 at 10:52 AM, Brian West <brian at freeswitch.org> wrote:

> Or use the socket without async so that it blocks till the action is
> complete.
>
> /b
>
> On Sep 25, 2009, at 12:13 AM, velusamy velu wrote:
>
> >     To get the freeswitch variable I used getVar subroutine which is
> > defined in ESL::IVR.pm file. When I print that digits, Perl program
> > prints empty value while playing the menu itself. If I need to get
> > the DTMF value I need to wait the perl program.
>
>
> _______________________________________________
> 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/20090925/7dfd6227/attachment-0002.html 


More information about the FreeSWITCH-users mailing list