[Freeswitch-users] vars scope in dialplan
Michael Collins
msc at freeswitch.org
Mon Jun 7 15:17:59 PDT 2010
On Mon, Jun 7, 2010 at 2:06 PM, Madovsky <infos at madovsky.org> wrote:
> Brien,
>
> if I have to write several conditions for the same vars, like
>
> <condition>
> <action inline="true" application="set" data="test=${cake}">
> </condition>
> <condition field="${test}" expression="^(chocolate)$">
> <action inline="true" application="set" data="prfx=yesyes"/>
> </condition>
> <condition field="${test}" expression="^(lemon)$">
> <action inline="true" application="set" data="prfx=yes"/>
> </condition>
>
> ${prfx} is empty. is not allowed to do that ?
>
> At what point is ${prfx} empty?
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100607/3e8990e5/attachment.html
More information about the FreeSWITCH-users
mailing list