[Freeswitch-users] Bridge and+or carrier failover

Alexey Sibyakin alex at freeswitch.com
Tue Apr 3 08:44:04 UTC 2018


Hi,

Do you have ignore_early_media=true in your dialplan? Probably you should.

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+bridge

Alex

On Tue, Apr 3, 2018 at 4:26 PM, Shane Mitchell <
shane.mitchell at fonedynamics.com.au> wrote:

> Hi,
>
>
>
> I’m trying to implement carrier failover with the bridge application,
> specifically when working with multiple simultaneous destinations.
>
>
>
> For a single destination, I can use OR (|) and fail_on_single_reject to
> appropriately failover.  For example (simplified):
>
>
>
> {fail_on_single_reject=user_busy}sofia/gateway/GW1/
> ENDPOINT1|sofia/gateway/GW2/ENDPOINT1
>
>
>
> However with multiple simultaneous destinations, I’m having issues with
> approach.  I’ve tried the following (simplified):
>
>
>
> {fail_on_single_reject=user_busy}sofia/gateway/GW1/
> ENDPOINT1|sofia/gateway/GW2/ENDPOINT1,sofia/gateway/GW3/
> ENDPOINT2|sofia/gateway/GW4/ENDPOINT2
>
>
>
> This terminates all new channels when any one of them fails.
>
>
>
> What I’m trying to do is to stop bridge attempting a specific OR chain
> when one fails, but to continue executing the rest of the ANDs.
>
>
>
> Is there a way to achieve bridging to multiple destinations
> simultaneously, with each destination having its own list of failover
> gateways, and having failover for a destination only occur on certain cause
> codes (i.e. we don’t want to fail over on user_busy/etc, but we do on other
> types of failures)?
>
>
>
> Thanks & regards,
>
> Shane Mitchell.
>
>
>
> _________________________________________________________________________
> 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
>



-- 

Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex at freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales at freeswitch.com for details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180403/2aa5fdd0/attachment.html>


More information about the FreeSWITCH-users mailing list