Assuming that your variables are set at the time you perform the condition (hint: see inline="true" for the set command) then you can try something like this: <condition field="${cond(${var1} == ${var2})}" expression="^true$"> Standard disclaimer<http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer>applies... -MC On Tue, Oct 9, 2012 at 8:52 AM, Yehavi Bourvine <yehavi.bourvine@gmail.com>wrote:
Hello,
Suppose I have to variables which I set some values to them at the dialplan. What is the condition statement syntax to test whether their values equal?
Thanks, __Yehavi:
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org