[Freeswitch-svn] [commit] r9081 - freeswitch/trunk/conf/dialplan/extensions
Freeswitch SVN
brian at freeswitch.org
Thu Jul 17 17:33:59 EDT 2008
Author: brian
Date: Thu Jul 17 17:33:58 2008
New Revision: 9081
Added:
freeswitch/trunk/conf/dialplan/extensions/00_pizza_demo.xml
Log:
some examples of modules_exists
Added: freeswitch/trunk/conf/dialplan/extensions/00_pizza_demo.xml
==============================================================================
--- (empty file)
+++ freeswitch/trunk/conf/dialplan/extensions/00_pizza_demo.xml Thu Jul 17 17:33:58 2008
@@ -0,0 +1,9 @@
+<include>
+ <extension name="pizza_demo">
+ <condition field="destination_number" expression="^(pizza|74992)$"/>
+ <condition field="${module_exists(mod_spidermonkey)}" expression="true"/>
+ <condition field="${module_exists(mod_pocketsphinx)}" expression="true">
+ <action application="javascript" data="ps_pizza.js"/>
+ </condition>
+ </extension>
+</include>
More information about the Freeswitch-svn
mailing list