[Freeswitch-users] Bridge and+or carrier failover
Alexis Prodhomme
ap at gen-ip.fr
Tue Apr 3 09:50:59 UTC 2018
Hi,
Did you tried to put fail_on_single_reject in [ ] instead of { } ?
You can find more informations in
https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-ChannelVariablesinDialStrings
Alexis Prodhomme
Le 03/04/2018 à 09:26, Shane Mitchell a écrit :
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180403/8803e3fb/attachment.html>
More information about the FreeSWITCH-users
mailing list