<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div><div>beware... long post :)<br><br></div></div>In my memory, when I used group_confirm, I noticed that the read timeout start AFTER the file prompt was played, not during or at the answer starts...<br>
</div>In fact, I think you have &quot;Sound prompt lenght&quot; time +&quot;read timeout&quot; time  to press a key or the confirm will be canceled/rejected... So you&#39;re could also try with <span style="font-size:12.7273px;font-family:arial,sans-serif">group_confirm_read_</span><span style="font-size:12.7273px;font-family:arial,sans-serif">timeout</span> = 0 or 100.<br>
</div><br></div><br><div><font face="arial, sans-serif">&gt;I&#39;m not sure what you mean by &quot;</font><span style="font-family:arial,sans-serif;font-size:12.7273px">fix the timeout at the audio lenght of your group_confirm_file&quot;. Can you give me a few more details?</span></div>

<div><span style="font-family:arial,sans-serif;font-size:12.7273px">I mean that when I tried to do that, I had to mix with all the timeout to get my wanted features... This means :<br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.7273px"><br>
On this string : <br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.7273px"><br>originate [leg_timeout=TIMEOUT1,group_confirm_read_timeout=TIMEOUT2...]sofia/endpoint &amp;park()<br></span></div><div>
<span style="font-family:arial,sans-serif;font-size:12.7273px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.7273px">- with TIMEOUT1= 10000, you will have (ring allowed time) + (sound prompt_lenght) + (TIMEOUT2 )  &lt;- will result with hangup at TIMEOUT1 but could hangup during prompt if it takes time to answer (various ring time) <br>
<br></span></div>- with group_confirm_cancel_timeout=1 .... The ring time is not care,, and the leg_timeout if canceled on legB answer, so you can choose : timeout for ring (leg_timeout with less value) and timeout for the read of digit.(but this timeout start after prompt), so if you just want your prompt, you have to put read_timeout to 0 <br>
<br></div>One thing which is strange for me is that you said the sound loops... for me, the sound doesn&#39;t loop if no confirm is done within the timeout...<br><br>Anyway, you must have a look at the LUA script which is a better solution if you want to manage too much complex behavior in dialplan..<br>
<br></div><div>Hope it helps a little and sorry for my poor english...<br><br></div><div>Regards,<br></div><br><div><div><br><div><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/21 Lyle Pratt <span dir="ltr">&lt;<a href="mailto:lylepratt@gmail.com" target="_blank">lylepratt@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anthony suggested that I: &quot;<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Use the exec app mode and call a lua script that plays once, waits for input once and hangs up.&quot;</span><div>

<span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">I guess I can do that as a last resort, however based on the documentation, it seems that &quot;</span><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">group_confirm_read_</span><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">timeout&quot; should work, however it does not have any affect for me. Can someone else try this or does anyone know why it is not working?</span></div>
<span class="HOEnZb"><font color="#888888">
<div><span style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">-Lyle</span></div></font></span></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 12:44 PM, Lyle Pratt <span dir="ltr">&lt;<a href="mailto:lylepratt@gmail.com" target="_blank">lylepratt@gmail.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 dir="ltr">Additional information:<div><br></div><div>I thought that &quot;<span style="font-size:12.727272033691406px;font-family:arial,sans-serif">group_confirm_read_</span><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">timeout&quot; would be what I needed as well, but I&#39;ve tried it and it does not seem to have any affect on how long it waits for confirmation. Maybe it doesn&#39;t work correctly when using Enterprise Originate?</span></div>

<span><font color="#888888">
<div><span style="font-size:12.727272033691406px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.727272033691406px;font-family:arial,sans-serif">-Lyle</span></div></font></span></div><div>
<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 12:27 PM, Lyle Pratt <span dir="ltr">&lt;<a href="mailto:lylepratt@gmail.com" target="_blank">lylepratt@gmail.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 dir="ltr">Hi Regis,<div><br></div><div>Thanks for sticking with me on this issue. I&#39;ve tried <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">group_confirm_read_timeout, but its not what I&#39;m looking for. I&#39;ve also taken a look at the source for switch_ivr_read which is what the &quot;group_confirm&quot; functionality is using, and it doesn&#39;t seem to support a max retries, or hard timeout to wait for a &quot;confirmation&quot;. I think that (</span><font face="arial, sans-serif"><a href="http://docs.freeswitch.org/group__switch__ivr__menu.html#g372a59da20a90e23f4fee8e36b829fee" target="_blank">http://docs.freeswitch.org/group__switch__ivr__menu.html#g372a59da20a90e23f4fee8e36b829fee</a>)</font></div>



<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I&#39;m not sure what you mean by &quot;</font><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">fix the timeout at the audio lenght of your group_confirm_file&quot;. Can you give me a few more details?</span></div>



<div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks!</span></div><span><font color="#888888"><div>


<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">-Lyle</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div></font></span></div><div>
<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 12:20 PM, Regis M <span dir="ltr">&lt;<a href="mailto:regis.freeswitch.org@tornad.net" target="_blank">regis.freeswitch.org@tornad.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div>There&#39;s also some other undocumented variables :<br>Look here : <br><a href="http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Channel_variables" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Channel_variables</a><br>




<br>group_confirm_read_timeout 
will do the job maybe<br><br></div>Anyway, you have to fix the timeout at the audio lenght of your group_confirm_file..<br><br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/10/21 Lyle Pratt <span dir="ltr">&lt;<a href="mailto:lylepratt@gmail.com" target="_blank">lylepratt@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Regis,<div><br></div><div>Thanks for the tip, but unfortunately that does not help. I need to prevent the group_confirm_file from looping at all. It doesn&#39;t have anything to do with the leg timeout. In other words, my leg timeout could be 10 seconds or 100 seconds, but the group_confirm_file should still only play one time, wait for input, then hangup.</div>




<span><font color="#888888">
<div><br></div><div>-Lyle</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 11:55 AM, Regis M <span dir="ltr">&lt;<a href="mailto:regis.freeswitch.org@tornad.net" target="_blank">regis.freeswitch.org@tornad.net</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>Try to look at that :<br><a href="http://wiki.freeswitch.org/wiki/Variable_group_confirm_cancel_timeout" target="_blank">http://wiki.freeswitch.org/wiki/Variable_group_confirm_cancel_timeout</a><br>






<br></div>Regards<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/20 Lyle Pratt <span dir="ltr">&lt;<a href="mailto:lylepratt@gmail.com" target="_blank">lylepratt@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div><div>
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hello! I&#39;m trying to use the &quot;group_confirm_file&quot; functionality to prevent voicemail systems from answering my outbound calls to users.</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">







<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">The problem I&#39;m having is that there does not seem to be a way to prevent the &quot;group_confirm_file&quot; from looping/repeating. I only want the file to play ONE time then hang up if they do not press the &quot;group_confirm_key&quot;. Currently, if someone ignores one of the calls (on their cell phone for example) and their voicemail system picks up, they will get a voicemail with the &quot;group_confirm_file&quot; audio. This is extremely annoying!</div>







<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">How can I change this? Is it possible for me to write a module to change/correct this behavior?</div>







<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks!</div><span><font color="#888888"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">







Lyle</div></font></span></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>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<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>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<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>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<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>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><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>