Hey Guys,<br><br>I took a look at the source that Anthony updated. I see this:<br><span style="background-color: rgb(255, 255, 0);"></span><br>} else if (!strcasecmp((char *) hi-&gt;name, &quot;group_confirm_file&quot;)) {<br>
ok = 1;<br>} else if (!strcasecmp((char *) hi-&gt;name, &quot;group_confirm_<b><span style="background-color: rgb(255, 255, 0);">clear</span></b>_timeout&quot;)) {<br>ok = 1;<br> } else if (!strcasecmp((char *) hi-&gt;name, &quot;forked_dial&quot;)) {<br>
<br>and:<br><br>if (switch_true(switch_event_get_header(var_event, &quot;group_confirm_<b><span style="background-color: rgb(255, 255, 0);">cancel</span></b>_timeout&quot;))) {<br>        oglobals.cancel_timeout = -1;<br>
    }<br><br>I updated the <b>group_confirm_clear_timeout </b>to <b>group_confirm_cancel_timeout</b> and recompiled and this is now working just great.<br><br>Thanks very much for incorporating this. It is much appreciated.<br>
<br><br>Phillip Jones<br><br><br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 6:22 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;">
Hi there,<br><br>I downloaded the latest trunk, compiled and updated. Still no joy I am afraid.<br><br>This is the log file in pastebin - <a href="http://pastebin.freeswitch.org/9712" target="_blank">http://pastebin.freeswitch.org/9712</a><br>

<br>Code in my managed DLL is at: <a href="http://pastebin.freeswitch.org/9715" target="_blank">http://pastebin.freeswitch.org/9715</a><br><div><br>Dialplan binds to above:<br><br>      &lt;action application=&quot;managed&quot; data=&quot;MyFSProjects.InboundCall&quot;/&gt;<br>

<br></div><br>confirm.js is at: <a href="http://pastebin.freeswitch.org/9713" target="_blank">http://pastebin.freeswitch.org/9713</a><br><br><br>Thanks again for your help on this.<div><div></div><div class="h5"><br><br>
<br><br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 2:35 PM, 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;">Ah - SVN Trunk - thought you meant DID trunk!!! My bad.<br><br>Sorry - understand now! Will recompile and let you know. <br>

<div><div></div><div><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 2:27 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@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;">You actually updated your code and recompiled it all too?<br>This param was added about 30 seconds before I sent you the email.<div>


<div></div><div><br><br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 1:14 PM, 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>Thanks for your response.</div>
<div> </div>
<div>That does not seem to work. Here is my code:</div>
<div> </div>
<div>if(Session.Ready())<br>{<br>     Session.Execute(&quot;set&quot;, &quot;ignore_early_media=true&quot;);<br>     Session.Execute(&quot;set&quot;, &quot;hangup_after_bridge=true&quot;);<br>     Session.Execute(&quot;set&quot;, &quot;ringback=${us-ring}&quot;);</div>





<div><br>    Session.Answer();</div>
<div>    string Caller_ID_Number = this.Session.GetVariable(&quot;caller_id_number&quot;);</div>
<div><div>    Session.Execute(&quot;set&quot;, &quot;group_confirm_key=exec&quot;);<br></div>    <b>Session.Execute(&quot;set&quot;, &quot;group_confirm_cancel_timeout=true&quot;);<br></b><div>    Session.Execute(&quot;set&quot;, &quot;group_confirm_file=javascript confirm.js&quot;);<br>



</div>
    Session.Execute(&quot;bridge&quot;, &quot;[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828&quot;);</div>
<div>}</div>
<div>Session.Hangup(&quot;USER_BUSY&quot;);</div>
<div> </div>
<div>I also tried <b>group_confirm_cancel_leg_timeout</b> just in case.</div>
<div> </div>
<div>Am I missing something?</div><div><div></div><div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Jul 14, 2009 at 1:37 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;">FYI, <br>This has been added to the wiki:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout</a><br>




<font color="#888888"><br>-MC</font> 
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@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;">update to trunk and try setting <br>group_confirm_cancel_timeout=true<br><br>let me know if it works 
<div>
<div></div>
<div><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" 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,</div>
<div> </div>
<div>Thanks for the reply.</div>
<div>
<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>
<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" 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 clear="all"><br></div></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>




ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>




GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>




FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>




<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<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" 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" 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 clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>



Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>


GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>


<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div><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></blockquote></div><br>
</div></div></blockquote></div><br>