[Freeswitch-users] plan break

Jimmy Chang chang33.tw at gmail.com
Wed Apr 17 09:03:08 MSD 2013


It is what I want.
Thanks.

Jimmy


? 2013/4/16 ?? 07:51, José Luis Millán ??:
> Hi,
>
>
>
> 2013/4/16 Jimmy Chang <chang33.tw at gmail.com <mailto:chang33.tw at gmail.com>>
>
>     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?
>
>
> What about an 'anti-action' for the case the condition is not satisfied?
>
>     Thanks.
>     Jimmy
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> José Luis Millán
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130417/11ea1d08/attachment.html 


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