Dear Sir,<br> 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.<br> My subroutine call is, $conn->playAndGetDigits(1,1,1,8000,'#',"$play_list","ivr/ivr-please.wav","res","\\d+");<br>
<br> Is there any way to overcome this problem?<br><br>Please help me...<br><br><div class="gmail_quote">On Fri, Sep 25, 2009 at 10:52 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Or use the socket without async so that it blocks till the action is<br>
complete.<br>
<br>
/b<br>
<div class="im"><br>
On Sep 25, 2009, at 12:13 AM, velusamy velu wrote:<br>
<br>
> To get the freeswitch variable I used getVar subroutine which is<br>
> defined in ESL::IVR.pm file. When I print that digits, Perl program<br>
> prints empty value while playing the menu itself. If I need to get<br>
> the DTMF value I need to wait the perl program.<br>
<br>
<br>
</div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>