[Freeswitch-users] group confirm not working after first bridge fails

Grant Bagdasarian GB at cm.nl
Thu Sep 11 16:20:01 MSD 2014


Hello,

I'm executing two bridge commands for failover, and I also have the group confirm enabled. It works perfectly fine for the first bridge.
But when the first bridge does not answer, the 2nd bridge is executed. Once the 2nd bridge is answered (not confirmed), group confirm is executed, but when the destination presses the confirm key, nothing happens.
Sometimes the DTMF digits don't even reach the FS server. Sometimes they do, but the application doesn't handle them.

The call first hits the XML dialplan, then a js application is started.

Has anyone experienced this before?

First Bridge Command (From Console logs):
bridge(<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>[origination_caller_id_number=003100000000,origination_caller_id_name=003100000000,leg_timeout=15]sofia/outbound/0031612345678 at 192.168.1.1:5060<mailto:sofia/outbound/0031612345678 at 192.168.1.1:5060>)

Failover Bridge Command (From Console logs):
bridge([origination_caller_id_number=003100000000,origination_caller_id_name=003100000000,leg_timeout=15]sofia/outbound/031612345677 at 192.168.1.1:5060<mailto:sofia/outbound/031612345677 at 192.168.1.1:5060>)

2nd export of the group confirm variables (From Console logs):
2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/003100000000 at 192.168.1.2 EXPORTING[export_vars] [group_confirm_cancel_timeout]=[1] to event
2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/003100000000 at 192.168.1.2 EXPORTING[export_vars] [group_confirm_key]=[1] to event
2014-09-11 14:13:19.038451 [DEBUG] switch_channel.c:1180 sofia/inbound/003100000000 at 192.168.1.2 EXPORTING[export_vars] [group_confirm_file]=[/usr/src/freeswitch/sounds/accept_call.wav] to event

Dialplan XML:
        <action application="set" data="continue_on_fail=true" />
        <action application="set" data="hangup_after_bridge=true" />
                                <action application="set" data="bridge_early_media=true" />

JS Script:
                session.execute("export", "group_confirm_cancel_timeout=1");
                session.execute("export", "group_confirm_key=1");
                session.execute("export", "group_confirm_file=/usr/src/freeswitch/sounds/accept_call.wav");

                session.execute("bridge", parallelBridgeCommand);

                if(failoverDestination != null) {
                                session.execute("bridge", failoverDestinationCommand);
                }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140911/48d742d2/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list