Thank you for clarification. Wiki description of the parameters was a little confusing to me. Modifying that description would help the community.<br><br><div class="gmail_quote">On Fri, Feb 25, 2011 at 12:52 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Fri, Feb 25, 2011 at 9:34 AM, Malay Thakershi <span dir="ltr"><<a href="mailto:mthakershi@gmail.com" target="_blank">mthakershi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Recently I upgraded to latest GIT version and found there was an extra parameter to this function.<div><br></div><div>I have two questions if someone can explain:</div><div><br></div><div>--> 4th parameter</div><div><span style="font-family:sans-serif;font-size:13px;line-height:19px">* timeout = Number of milliseconds to wait once the file is done playing before you type a digit.</span></div>
<div><span style="font-family:sans-serif;font-size:13px;line-height:19px">From the name, I alway thought this had to do with user's inactivity at the prompt. So if value is 3000, after 3 seconds of inactivity prompt will either do a retry or move on.</span></div>
<div><span style="font-family:sans-serif;font-size:13px;line-height:19px">But I think from wiki description, it seems # of milliseconds for which data entry will be blocked, am I correct?</span></div></blockquote><div><br>
</div></div><div>No, it does not block. This timeout is for how long PAGD will wait until it does a retry. For example, with 3000 it will play the file, wait for 3 secs while listening for digits, and if no digits are pressed it will start the process all over again. When it gets to max tries then it will fail and move on.</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span style="font-family:sans-serif;font-size:13px;line-height:19px"><br></span></div><div><span style="font-family:sans-serif;font-size:13px;line-height:19px">--> 10th parameter</span></div>
<div><span style="font-family:sans-serif;font-size:13px;line-height:19px">* digit_timeout = Number of milliseconds to wait after DTMF ( Added Here<a href="http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=cfa30468e89788d220ad9fbc07ab1ae3406cf3fa" title="http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=cfa30468e89788d220ad9fbc07ab1ae3406cf3fa" rel="nofollow" style="text-decoration:none;color:rgb(51, 102, 187);background-color:initial;padding-right:13px;background-repeat:no-repeat no-repeat" target="_blank">[1]</a> )</span></div>
<div><span style="font-family:sans-serif;font-size:13px;line-height:19px">What does this do? Is it # ms to wait before second digit can be pressed?</span></div></blockquote><div><br></div></div><div>The digit timeout is like an "inter-digit timer." It basically is the maximum amount of time the caller can wait in between digits. So if that is set to 2500, then the caller can wait no more than 2.5 seconds in between key presses. The idea is to tailor just how long PAGD will wait after hearing digits to assume that the caller is done entering his/her digits. If you are still confused by this then I recommend doing two tests, one where you set this value really low, like 2000 and another where you set it really high, like 8000. Then call and enter some digits. See how long it takes for PAGD to assume you're done dialing.</div>
<div><br></div><div>I will revisit the wiki page and make sure I clarify this documentation.</div><div><br></div><div>-MC</div><div> </div></div>
<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>