<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><span>Hi.</span><div><span><br></span></div><div><span>For invalid file you could try to put "silence_stream://10": it "plays" 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 id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>Da: </b>"Ali Pey" <alipey@gmail.com><br><b>A: </b>"FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><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<br><br><div dir="ltr"><a href="about:blank" class="" target="_blank"></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'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't accept 0 for min or an empty string for invalid_file.</div><div><br></div><div>How can I achieve this behaviour?<br><img class="" dfsrc="https://contactmonkey.com/api/v1/tracker?cm_session=ac753ee5-c78f-4e75-af31-12af30a61ce7&cm_type=open&cm_user_email=alipey@gmail.com" src="https://contactmonkey.com/api/v1/tracker?cm_session=ac753ee5-c78f-4e75-af31-12af30a61ce7&cm_type=open&cm_user_email=alipey@gmail.com"></div>
<div>Regards,</div><div>Ali</div><div><br></div></div>
<br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>consulting@freeswitch.org<br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote><br></div></div></body></html>