[Freeswitch-users] Routing question

Dmitry Mordovin d.mordovin at dwide.com
Wed Sep 21 14:58:54 MSD 2016


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 at gw1
|
[leg_timeout=20]sofia/gateway/GW-2/11111 at gw2
|
[leg_timeout=20]sofia/gateway/GW-1/22222 at gw1
|
[leg_timeout=20]sofia/gateway/GW-2/22222 at 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?



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