[Freeswitch-users] plan break

Jimmy Chang chang33.tw at gmail.com
Tue Apr 16 15:39:33 MSD 2013


Hi,

I have a chatplan like this:

<?xml version="1.0" encoding="utf-8"?>
<include>
   <context name="default">

     <extension name="testnumber">
       <condition field="to" expression="^testnumber"/>
       <condition field="${cond(${_body} < 10 ? YES : NO)}" 
expression="^YES$">
           <action application="reply" data="OK"/>
       </condition>
     </extension>


     <extension name="demo">
       <condition field="to" expression="^(.*)$">
         <action application="send" />
       </condition>
     </extension>

   </context>
</include>

No matter what result the {cond(${_body} is, I don't want the plan flow 
go down to demo extension.
What should I do?

Thanks.
Jimmy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130416/a8d99e5c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list