<div dir="ltr"><div><div>What about this?<br><a href="https://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout">https://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout</a><br>
<br></div>It implies you need to use leg_timeout on each leg vs. originate_timeout globally but you could test and verify and then let the doc team know for sure. ;) <br><br></div>-MC<br><div><br><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 7:54 AM, Grant Bagdasarian <span dir="ltr">&lt;<a href="mailto:GB@cm.nl" target="_blank">GB@cm.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m using the enterprise originate to ring multiple destinations after the a leg has answered.<u></u><u></u></p>
<p class="MsoNormal">These are the global parameters: &lt;ignore_early_media=true,monitor_early_media_fail=user_busy:2:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true,originate_timeout=15&gt;<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Notice the originate_timeout has been set to 15.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When one of the ringing destinations answers the call, group_confirm is used to have them complete a script in order to get connected.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">session.execute(&quot;export&quot;, &quot;group_confirm_key=exec&quot;);<u></u><u></u></p><p class="MsoNormal">session.execute(&quot;export&quot;, &quot;group_confirm_file=javascript /usr/src/freeswitch/conf/scripts/confirm.js);<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When the confirm script is being executed, a file is being played and some digits need to be collected. Using play_and_get_digits. Audio file is about 12 seconds. <u></u><u></u></p>
<p class="MsoNormal">But as soon as the 15 seconds timeout is hit which was set before, the destination is disconnected.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">What do I need to set in order for freeswitch to know the destination has answered, so it leaves that answered destination alone and does not enforce the originate_timeout?<u></u><u></u></p>
<p class="MsoNormal">I’d expect the originate_timeout to be the time from starting to ring a destination till it has answered. Not continue enforcing it once the destination has been answered.<u></u><u></u></p><p class="MsoNormal">
Then again, group_confirm is required to be completed in order for freeswitch to mark the call as accepted, so this behavior might make sense.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
It comes down to the destinations being called not having enough time to complete the script because the originate_timeout is set to 15 seconds.<u></u><u></u></p><p class="MsoNormal">Changing it to 25 gives them more time, but 15 seconds is the requirement for this application. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any ideas? because I’m lost..<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Grant<u></u><u></u></p></font></span></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>