You actually can use these in conditions. Just need to be careful
that the var you are conditioning on is already set.
Mike
On Oct 22, 2009, at 1:54 PM, Michael Collins wrote:
On Thu, Oct 22, 2009 at 5:51 AM, Rupa Schomaker r...@rupa.com wrote:
cond would be helpful here? I updated the
How would you do an expression like: if $x 24 in a condition tag? Just
curious. I would like to make sure that is properly documented.
-MC
On Sat, Oct 31, 2009 at 10:42 AM, Michael Jerris m...@jerris.com wrote:
You actually can use these in conditions. Just need to be careful that the
var
see rupa's explanation below.
On Nov 1, 2009, at 1:24 AM, Michael Collins wrote:
How would you do an expression like: if $x 24 in a condition tag?
Just curious. I would like to make sure that is properly documented.
-MC
On Thu, Oct 22, 2009 at 5:51 AM, Rupa Schomaker r...@rupa.com
cond would be helpful here? I updated the wiki on this one just now
with a bit more detail. It is a api call. so, you'd use it like:
${cond(eval ? trueval : falseval)}
so to get a value of ERR if the var my myvar is 15 you could:
${cond(${myvar} 15 ? ERR : OK)}
If both sides of the
On Thu, Oct 22, 2009 at 5:51 AM, Rupa Schomaker r...@rupa.com wrote:
cond would be helpful here? I updated the wiki on this one just now
with a bit more detail. It is a api call. so, you'd use it like:
${cond(eval ? trueval : falseval)}
so to get a value of ERR if the var my myvar is 15
Hi,
Thanks for reply, it really helped me. One more thing to ask, how can we
make decision against ,, =, = in condition header? Like we use == for
action and != for anti-action.
Kindly highlight it.
-- Forwarded message --
From: Ahmed Munir ahmedmunir...@gmail.com
To:
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
On Thu, Oct 22, 2009 at 3:08 PM, Ahmed Munir ahmedmunir...@gmail.com wrote:
Hi,
Thanks for reply, it really helped me. One more
On Wed, Oct 21, 2009 at 9:28 PM, Mark Campbell-Smith
mcampbellsm...@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
On Wed, Oct 21, 2009 at 9:08 PM, Ahmed Munir ahmedmunir...@gmail.comwrote:
Hi,
Thanks for reply, it really helped me. One more thing to ask, how can we
make decision against ,, =, = in condition header? Like we use == for
action and != for anti-action.
Kindly highlight it.
You can only