i second this, before you do your first attempt, set continue_on_fail=true (example here: https://freeswitch.org/confluence/display/FREESWITCH/Example+Extension+Statu... ) then do your first originate attempt, after that, change your originate timeout and set continue_on_fail to false if needed, then try your second one. On Wed, Sep 21, 2016 at 4:29 PM, Abaci B <abaci64@gmail.com> wrote:
any reason not to split into 2 separate originates?
On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin <d.mordovin@dwide.com> wrote:
originate_timeout effect whole bridge.
I need timeout 20s for (sofia/gateway/GW-1/11111@gw1 and sofia/gateway/GW-2/11111@gw2) and next timeout 20s for (sofia/gateway/GW-1/22222@gw1 and sofia/gateway/GW-2/22222@gw2)
On 09/21/2016 07:03 PM, Abaci B wrote:
add {originate_timeout=20} see https://freeswitch.org/confluence/display/FREESWITCH/Variabl es#Variables-originate_timeout
On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin <d.mordovin@dwide.com> wrote:
Hello
I play with routing and want to test scheme with multiple suppliers (gateways) and multiple destinations (numbers).
My bridge configuration is
<action application="bridge" data=" [leg_timeout=20]sofia/gateway/GW-1/11111@gw1 | [leg_timeout=20]sofia/gateway/GW-2/11111@gw2 | [leg_timeout=20]sofia/gateway/GW-1/22222@gw1 | [leg_timeout=20]sofia/gateway/GW-2/22222@gw2 "/>
In this case bridge try each supplier and number with timeout 20 sec. It means, if 11111 user no answer, bridge spend 20+20 seconds before try 22222 number.
I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together).
Is it possible to set timeout 20 sec for each 'group' but not leg?
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org