perhaps mod_pocketsphinx is not loaded in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. you can check if the module works by loading the module in the CLI before dialing the pizza demo.<br>
-nandy<br><br><div class="gmail_quote">On Tue, May 24, 2011 at 3:40 AM, Yungwei Chen <span dir="ltr">&lt;<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I just installed the latest snapshot on CentOS 5.<br>
I want to try the pizza demo associated with 00_pizza_demo.xml, but I&#39;m having trouble getting the pizza demo to work.<br>
<br>
According to freeswitch.log, it looks like mod_pocketsphinx doesn&#39;t exist.<br>
...skipped...<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> Regex (PASS) [pizza_demo] destination_number(74992) =~ /^(pizza|74992)$/ break=on-false<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> Regex (PASS) [pizza_demo] ${module_exists(mod_spidermonkey)}(true) =~ /true/ break=on-false<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> Regex (FAIL) [pizza_demo] ${module_exists(mod_pocketsphinx)}(false) =~ /true/ break=on-false<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> parsing [default-&gt;Talking Clock Time] continue=false<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> Regex (FAIL) [Talking Clock Time] destination_number(74992) =~ /^9170$/ break=on-false<br>
...skipped...<br>
Dialplan: sofia/internal/<a href="mailto:1000@192.168.16.3">1000@192.168.16.3</a> Action transfer(74992 enum)<br>
<br>
But I do see mod_pocketsphinx.so in /usr/local/freeswitch/mod folder.<br>
[root@templ0 mod]# ls /usr/local/freeswitch/mod/mod_pocketsphinx.so -l<br>
-rwxr-xr-x 1 root root 1353092 May 23 13:23 /usr/local/freeswitch/mod/mod_pocketsphinx.so<br>
<br>
I also went through <a href="http://wiki.freeswitch.org/wiki/Mod_pocketsphinx" target="_blank">http://wiki.freeswitch.org/wiki/Mod_pocketsphinx</a>, but the problem is still there.<br>
How am I missing here? Thanks.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>