[Freeswitch-users] Routing question

Dmitry Mordovin d.mordovin at dwide.com
Thu Sep 22 04:59:47 MSD 2016


Thank you guys!
Ideas with several bridges and continue_on_fail very interested!



On 09/22/2016 02:29 AM, Abaci B wrote:
> any reason not to split into 2 separate originates?
>
> On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin <d.mordovin at dwide.com 
> <mailto:d.mordovin at dwide.com>> wrote:
>
>     originate_timeout effect whole bridge.
>
>     I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2)
>
>
>     On 09/21/2016 07:03 PM, Abaci B wrote:
>>     add {originate_timeout=20}
>>     see
>>     https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout
>>     <https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout>
>>
>>     On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin
>>     <d.mordovin at dwide.com <mailto:d.mordovin at 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 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?
>>
>>         _________________________________________________________________________
>>         Professional FreeSWITCH Consulting Services:
>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>         <http://www.freeswitchsolutions.com>
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://confluence.freeswitch.org
>>         <http://confluence.freeswitch.org>
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org
>>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>         <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>         <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>         http://www.freeswitch.org
>>
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com  <http://www.freeswitchsolutions.com>
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://confluence.freeswitch.org  <http://confluence.freeswitch.org>
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users  <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users  <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>     http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/63488b1f/attachment-0001.html 


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