[Freeswitch-users] Gateway Failover
Srigo Kanapathipillai
ksrigo at gmail.com
Wed Nov 1 01:56:31 UTC 2017
Hi,
If I'm not wrong, i can see two way of doing it:
1. You can define your leg variable in [] (not {}).
Eg:
Sofia/gateway1|[var=2]sofia/gateway2
2.
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="sofia/gateway1"/>
<action application="set" data="var=2"/>
<action application="bridge" data="sofia/gateway2"/>
Srigo
Sent from my iPhone
> On 1 Nov 2017, at 01:12, Gregor Nanger <gregor at infomedia.si> wrote:
>
> Hi, need some advice.
>
> Is it possible to set variable on failover scenario?
>
> I have failover in bridge /gateway1|/gateway2, but would like to set variable on a leg when failover occurs. Something like:
>
> /gateway1/|{myvariable=2}/gateway2
>
> Is this possible?
>
> Thank you, Gregor
> _________________________________________________________________________
> 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/20171101/6926b22e/attachment.html>
More information about the FreeSWITCH-users
mailing list