On Wed, Oct 21, 2009 at 9:28 PM, Mark Campbell-Smith <mcampbellsmith@gmail.com> wrote:
Can't you use the inline statement to set a variable so that it can be
used directly in a condition?

http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions


Yes you can. Just don't abuse it like Tony said. If you find yourself doing it a lot then it's a sure sign that you're taking the wrong approach.
-MC