[Freeswitch-users] Routing question

John Covici covici at ccs.covici.com
Thu Sep 22 06:17:06 MSD 2016


Doesn't putting the setting in [] instead of {} then only efffect  one
call?

On Wed, 21 Sep 2016 20:59:47 -0400,
Dmitry Mordovin wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; windows-1252 (7bit)>]
> [1.2  <text/html; windows-1252 (quoted-printable)>]
> 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> 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
> 
>  On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin <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
>  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
> 
> _________________________________________________________________________
> 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
> 
>  _________________________________________________________________________
>  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
> 
> _________________________________________________________________________
> 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
> [2  <text/plain; us-ascii (7bit)>]
> _________________________________________________________________________
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



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