<div dir="ltr">Hi Denis,<div><br></div><div>Thank you for the response. I did something similar, I uses &quot;none&quot; for the failure_route and it doesn&#39;t play anything since it can&#39;t find the file. It would not work with an empty string &quot;&quot; though. Your solution sounds more elegant.</div>
<div><br></div><div>The wiki says the minimum accepted value for min is 1 and in my testing it would not accept either.</div><div><br></div><div>Thanks again,</div><div>Ali Pey</div><div><div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Sep 5, 2013 at 2:53 AM, Denis Gasparin <span dir="ltr">&lt;<a href="mailto:denis.gasparin@edistar.com" target="_blank">denis.gasparin@edistar.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:Arial"><span>Hi.</span><div><span><br></span></div><div><span>For invalid file you could try to put &quot;silence_stream://10&quot;: it &quot;plays&quot; a silence for ten milliseconds.</span></div>
<div><span><br></span></div><div><span>I used the play_and_get_digits dialplan application and it accepts 0 for min: i think perl implementation should be the same (have to look source code).<br><br><span name="x"></span>Denis Gasparin<span name="x"></span><br>
</span><br><hr><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><b>Da: </b>&quot;Ali Pey&quot; &lt;<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>&gt;<br><b>A: </b>&quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Inviato: </b>Mercoledì, 4 settembre 2013 20:15:32<br><b>Oggetto: </b>[Freeswitch-users] play_and_get_digits - with no invalid entry<div><div class="h5"><br><br><div dir="ltr"><a></a>Hello,<div><br></div><div>I need to play a prompt and get any digits if entered, but if there is no digit entered, simply continue. Basically I don&#39;t have any minimum entry required and there is no invalid entry.</div>

<div><br></div><div>I use playAndGetDigits in my perl code but it doesn&#39;t accept 0 for min or an empty string for invalid_file.</div><div><br></div><div>How can I achieve this behaviour?<br></div>
<div>Regards,</div><div>Ali</div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<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>
<br></blockquote></div><br></div><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=bb4c8699-1de3-485a-aa12-323480c9a6b2&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com"></div></div></div>