<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I am picking up this old thread as I have exactly the same problem
and my log looks just the same.<br>
<br>
I am using mod_pocketsphing through event socket with a new
freeswitch built from GIT. I also tested the Pizza demo with no
success. The server is a Ubuntu 10_04.<br>
<br>
The module is loaded successfully:<br>
2012-01-30 17:26:08.776531 [CONSOLE] switch_loadable_module.c:1299
Successfully Loaded [mod_pocketsphinx]<br>
2012-01-30 17:26:08.776531 [NOTICE] switch_loadable_module.c:363
Adding ASR interface 'pocketsphinx'<br>
<br>
However it does neither detect speech via event socket nor in the
pizza demo. And I cannot see any DETECTED_SPEECH events via event
socket. <br>
<br>
In the logs I see the following:<br>
2012-01-30 18:52:26.536529 [DEBUG] switch_ivr_play_say.c:1678 done
playing file
/usr/local/freeswitch/sounds/en/us/callie/pizza/GP-Greeting.wav<br>
EXECUTE <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/200@my.domain">sofia/internal/200@my.domain</a> detect_speech(pocketsphinx
pizza_order undefined)<br>
2012-01-30 18:52:27.056538 [DEBUG] switch_core_media_bug.c:457
Attaching BUG to <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/200@my.domain">sofia/internal/200@my.domain</a><br>
2012-01-30 18:52:27.076532 [DEBUG] switch_core_io.c:340 Setting BUG
Codec PCMA:8<br>
EXECUTE <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/200@my.domain">sofia/internal/200@my.domain</a> detect_speech(resume)<br>
2012-01-30 18:52:27.576530 [DEBUG] switch_ivr_play_say.c:1306 Codec
Activated L16@8000hz 1 channels 20ms<br>
2012-01-30 18:52:30.296528 [DEBUG] switch_ivr_play_say.c:1678 done
playing file
/usr/local/freeswitch/sounds/en/us/callie/pizza/GP-DeliveryorTakeout.wav<br>
EXECUTE <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/200@my.domain">sofia/internal/200@my.domain</a> detect_speech(resume)<br>
<br>
So there is no error message.<br>
<br>
Googling around I expected I should see something like this:<br>
SpeechTools.jm:150 console_log() ----XML: <interpretation
grammar="pizza_order" score="44"> <result
name="match">TAKEOUT</result>
<input>TAKEOUT</input> </interpretation><br>
<br>
But there is none of this type in the logs.<br>
<br>
What could I do to investigate further?<br>
<ul>
<li>maybe there is an older version of pocketsphinx on the system,
which conflicts? (system was set up in may 2011)</li>
<li>Is there a way to have more debugging informations within
pocket sphinx?</li>
</ul>
Any help is appreciated.<br>
<br>
Best regards<br>
Peter<br>
<br>
<br>
<br>
Am 06.09.2010 09:50, schrieb Thangappan.M:
<blockquote
cite="mid:AANLkTin333n0=3M-xoWYc3rS1+DoCJC=LZ=YS6t2b156@mail.gmail.com"
type="cite">Dear all,<br>
<br>
I have installed the mod_pocketsphinx module successfully
and enabled with FreeSWITCH. Copied the relevant files for pizza
application and placed into appropriate directory. Made a call to
"74992" and able to hear the voice.<br>
When I said "TAKEOUT' it was not recognizing my words.<br>
<br>
In the freeswitch CLI it shown the following messages.<br>
<br>
EXECUTE sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>
javascript(ps_pizza.js)<br>
2010-09-06 13:18:48.023673 [DEBUG] sofia_glue.c:2594 AUDIO RTP
[sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>]
192.168.1.222 port 32590 -> 192.168.6.60 port 8000 codec: 8 ms:
20<br>
2010-09-06 13:18:48.024705 [DEBUG] switch_rtp.c:1182 Starting
timer [soft] 160 bytes per 20ms<br>
2010-09-06 13:18:48.025710 [DEBUG] sofia_glue.c:2774 Set 2833 dtmf
send payload to 101<br>
2010-09-06 13:18:48.026799 [DEBUG] sofia_glue.c:2779 Set 2833 dtmf
receive payload to 101<br>
2010-09-06 13:18:48.026799 [DEBUG] mod_sofia.c:636 Local SDP
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>:<br>
v=0<br>
o=FreeSWITCH 1283726738 1283726739 IN IP4 192.168.1.222<br>
s=FreeSWITCH<br>
c=IN IP4 192.168.1.222<br>
t=0 0<br>
m=audio 32590 RTP/AVP 8 101<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=ptime:20<br>
a=sendrecv<br>
<br>
2010-09-06 13:18:48.028235 [DEBUG] switch_core_session.c:641 Send
signal sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a> [BREAK]<br>
2010-09-06 13:18:48.028235 [DEBUG] sofia.c:4153 Channel
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a> entering
state [completed][200]<br>
2010-09-06 13:18:48.029256 [NOTICE] mod_spidermonkey.c:2066
Channel [sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>] has
been answered<br>
2010-09-06 13:18:48.030269 [DEBUG] switch_ivr_play_say.c:1152
Codec Activated L16@8000hz 1 channels 20ms<br>
2010-09-06 13:18:48.123555 [DEBUG] sofia.c:4153 Channel
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a> entering
state [ready][200]<br>
2010-09-06 13:18:48.171705 [DEBUG] switch_rtp.c:2066 Correct
ip/port confirmed.<br>
2010-09-06 13:18:50.212417 [DEBUG] switch_ivr_play_say.c:1444 done
playing file<br>
EXECUTE sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>
detect_speech(pocketsphinx pizza_order undefined)<br>
2010-09-06 13:18:51.768030 [DEBUG] switch_core_media_bug.c:360
Attaching BUG to sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a><br>
EXECUTE sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>
detect_speech(resume)<br>
2010-09-06 13:18:51.774074 [DEBUG] switch_ivr_play_say.c:1152
Codec Activated L16@8000hz 1 channels 20ms<br>
2010-09-06 13:18:54.492023 [DEBUG] switch_ivr_play_say.c:1444 done
playing file<br>
EXECUTE sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>
detect_speech(resume)<br>
EXECUTE sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.222">1000@192.168.1.222</a>
detect_speech(resume)<br>
2010-09-06 13:19:01.534474 [DEBUG] switch_ivr_play_say.c:1152
Codec Activated L16@8000hz 1 channels 20ms<br>
<br>
<br>
Please help me.....<br clear="all">
<br>
-- <br>
Regards,<br>
Thangappan.M<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>