<div dir="ltr">by exporting/setting on the local side on your second bridge attempt &#39;group_confirm_file&#39; you&#39;re overwriting any file, what i see is that you&#39;re having it play a wave file instead of the script.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 6:20 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 executing two bridge commands for failover, and I also have the group confirm enabled. It works perfectly fine for the first bridge.<u></u><u></u></p><p class="MsoNormal">But when the first bridge does not answer, the 2<sup>nd</sup> bridge is executed. Once the 2<sup>nd</sup> bridge is answered (not confirmed), group confirm is executed, but when the destination presses the confirm key, nothing happens.<u></u><u></u></p><p class="MsoNormal">Sometimes the DTMF digits don’t even reach the FS server. Sometimes they do, but the application doesn’t handle them.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The call first hits the XML dialplan, then a js application is started.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Has anyone experienced this before?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">First Bridge Command (From Console logs):<u></u><u></u></p><p class="MsoNormal">bridge(&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&gt;[origination_caller_id_number=003100000000,origination_caller_id_name=003100000000,leg_timeout=15]<a href="mailto:sofia/outbound/0031612345678@192.168.1.1:5060" target="_blank">sofia/outbound/0031612345678@192.168.1.1:5060</a>)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Failover Bridge Command (From Console logs):<u></u><u></u></p><p class="MsoNormal">bridge([origination_caller_id_number=003100000000,origination_caller_id_name=003100000000,leg_timeout=15]<a href="mailto:sofia/outbound/031612345677@192.168.1.1:5060" target="_blank">sofia/outbound/031612345677@192.168.1.1:5060</a>)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">2<sup>nd</sup> export of the group confirm variables (From Console logs):<u></u><u></u></p><p class="MsoNormal">2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/<a href="mailto:003100000000@192.168.1.2" target="_blank">003100000000@192.168.1.2</a> EXPORTING[export_vars] [group_confirm_cancel_timeout]=[1] to event<u></u><u></u></p><p class="MsoNormal">2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/<a href="mailto:003100000000@192.168.1.2" target="_blank">003100000000@192.168.1.2</a> EXPORTING[export_vars] [group_confirm_key]=[1] to event<u></u><u></u></p><p class="MsoNormal">2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/<a href="mailto:003100000000@192.168.1.2" target="_blank">003100000000@192.168.1.2</a> EXPORTING[export_vars] [group_confirm_file]=[/usr/src/freeswitch/sounds/accept_call.wav] to event<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Dialplan XML:<u></u><u></u></p><p class="MsoNormal">        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot; /&gt;<u></u><u></u></p><p class="MsoNormal">        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;<u></u><u></u></p><p class="MsoNormal">                                &lt;action application=&quot;set&quot; data=&quot;bridge_early_media=true&quot; /&gt;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">JS Script:<u></u><u></u></p><p class="MsoNormal">                session.execute(&quot;export&quot;, &quot;group_confirm_cancel_timeout=1&quot;);<u></u><u></u></p><p class="MsoNormal">                session.execute(&quot;export&quot;, &quot;group_confirm_key=1&quot;);<u></u><u></u></p><p class="MsoNormal">                session.execute(&quot;export&quot;, &quot;group_confirm_file=/usr/src/freeswitch/sounds/accept_call.wav&quot;);<u></u><u></u></p><p class="MsoNormal">                <u></u><u></u></p><p class="MsoNormal">                session.execute(&quot;bridge&quot;, parallelBridgeCommand);<u></u><u></u></p><p class="MsoNormal">                <u></u><u></u></p><p class="MsoNormal">                if(failoverDestination != null) {<u></u><u></u></p><p class="MsoNormal">                                session.execute(&quot;bridge&quot;, failoverDestinationCommand);<u></u><u></u></p><p class="MsoNormal">                }<u></u><u></u></p></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br></div>