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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org