Thank you for your response. Guess I should try and see.
Do you think that in your scenario variable is also set in A leg, because I need to have this variable than in Cdr?
On Wed, Nov 1, 2017, 02:58 Srigo Kanapathipillai <ksrigo@gmail.com> wrote: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/gateway22.<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"/>SrigoSent from my iPhoneHi, 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}/gateway2Is this possible?Thank you, Gregor__________________________________________________________________________________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org--
Gregor Nanger CTO
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org