Hello
<section name="dialplan" description="Local call">
<context name="public">
<extension name="local_1">
<condition field="destination_number" expression="^(\d{4})$">
<action application="answer"/>
<action application="play_and_get_digits" data="1 1 3 7000 #
$${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav
/invalid.wav foobar \d+"/>
<action application="log" data="CRIT ${foobar}"/>
<condition field="${foobar}" expression="1$">
<action application="log" data="CRIT
--------------1------------------"/>
<anti-action application="log" data="CRIT --------------not
1------------------"/>
</condition>
<action application="log" data="CRIT ---- last ${foobar}"/>
</condition>
</extension>
</context>
</section>
Why inner condition not works?
_________________________________________________________________________
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