Hi all,<br><br>I tried to execute the pizza example for PocketSphinx for speech recognition.<br><br>I added the grammar,enabled mod_pocketsphinx and spidermonkey, added sound files and js files as per the wiki.<br><a href="http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Install_.26_Configure">http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Install_.26_Configure</a><br>
<br>When, I call to the extension, though it passes the Regex, showing true for the conditions. But could not execute the javascript application and subsequently the js file.<br><br>The dialplan looks like <b><br><extension name="pizza_demo"><br>
<condition field="destination_number" expression="^(74992)$"/><br> <condition field="${module_exists(mod_spidermonkey)}" expression="true"/><br> <condition field="${module_exists(mod_pocketsphinx)}" expression="true"> <br>
<action application="javascript" data="ps_pizza.js"/> <br> </condition><br> </extension></b><br><br>If I remove the condition of module exist, the js file gets executed and the call goes on. But, It does not work with Module exists condition.<br>
<br>I have pasted the logs <a href="http://pastebin.freeswitch.org/16680">http://pastebin.freeswitch.org/16680</a>. I could not even find anything concrete on the logs. <br><br>Thanks<br>Ankit<br clear="all"><br>-- <br>Life is like a rose its upto u feel it as its fragrance or thorns<br>