You actually updated your code and recompiled it all too?<br>This param was added about 30 seconds before I sent you the email.<br><br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <span dir="ltr"><<a href="mailto:pjintheusa@gmail.com">pjintheusa@gmail.com</a>></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("set", "ignore_early_media=true");<br> Session.Execute("set", "hangup_after_bridge=true");<br> Session.Execute("set", "ringback=${us-ring}");</div>
<div><br> Session.Answer();</div>
<div> string Caller_ID_Number = this.Session.GetVariable("caller_id_number");</div>
<div><div class="im"> Session.Execute("set", "group_confirm_key=exec");<br></div> <b>Session.Execute("set", "group_confirm_cancel_timeout=true");<br></b><div class="im"> Session.Execute("set", "group_confirm_file=javascript confirm.js");<br>
</div>
Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");</div>
<div>}</div>
<div>Session.Hangup("USER_BUSY");</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 class="h5">
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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"><<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>></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>>> Both "leg_timeout" and "leg_progress_timeout" 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("set", "group_confirm_key=exec");<br>Session.Execute("set", "group_confirm_file=javascript confirm.js");</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"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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"><<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>></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 - "please 1 to accept this call"</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>"leg_timeout" 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 "leg_timeout" and "leg_progress_timeout" 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've mentioned shouldn'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">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>