update to trunk and try setting <br>group_confirm_cancel_timeout=true<br><br>let me know if it works<br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <span dir="ltr">&lt;<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Hi,</div>
<div> </div>
<div>Thanks for the reply.</div><div class="im">
<div> </div>
<div>&gt;&gt; Both &quot;leg_timeout&quot; and &quot;leg_progress_timeout&quot; are for controlling how long to wait prior to the B-leg answering.</div>
<div> </div>
</div><div>I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.</div>
<div> </div>
<div> In my situation I am using:</div>
<div> </div>
<div>Session.Execute(&quot;set&quot;, &quot;group_confirm_key=exec&quot;);<br>Session.Execute(&quot;set&quot;, &quot;group_confirm_file=javascript confirm.js&quot;);</div>
<div> </div>
<div>my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1. </div>
<div> </div>
<div>I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.</div>
<div> </div>
<div>I am new all this so I will work out how to use the pastebin etc.</div>
<div> </div>
<div>Thanks for your help.</div>
<div> </div><font color="#888888">
<div> </div>
<div>Phillip Jones </div></font><div><div></div><div class="h5">
<div><br><br> </div>
<div class="gmail_quote">On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><br><br>
<div class="gmail_quote">
<div>On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <span dir="ltr">&lt;<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi there,</div>
<div> </div>
<div>Here is my call flow:</div>
<div> </div>
<div>1) leg A is bridged to leg B</div>
<div>2) when leg B is answered I play a confirm script - &quot;please 1 to accept this call&quot;</div>
<div> </div>
<div>I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.</div>
<div> </div>
<div>&quot;leg_timeout&quot; seems to be in play until the bridge is completed. I need it to reset when leg b is answered.</div></blockquote></div>
<div><br>Correct. Both &quot;leg_timeout&quot; and &quot;leg_progress_timeout&quot; are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.) <br>

</div>
<div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div>
<div> </div>
<div>I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work. </div></blockquote></div>
<div><br>What exactly are you trying to do? The two variables you&#39;ve mentioned shouldn&#39;t have any effect on the call after it has been established.<br></div>
<div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div>
<div> </div>
<div>Any help or suggestions would be welcome.</div>
<div></div></blockquote></div>
<div><br>Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:<br><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps" target="_blank">http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps</a><br>

<br>-MC <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> </div><font color="#888888">
<div>Phillip Jones</div></font><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><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><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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>