I am picking up this old thread as I have exactly the same problem and my log looks just the same. 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. The module is loaded successfully: 2012-01-30 17:26:08.776531 [CONSOLE] switch_loadable_module.c:1299 Successfully Loaded [mod_pocketsphinx] 2012-01-30 17:26:08.776531 [NOTICE] switch_loadable_module.c:363 Adding ASR interface 'pocketsphinx' 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. In the logs I see the following: 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 EXECUTE sofia/internal/200@my.domain detect_speech(pocketsphinx pizza_order undefined) 2012-01-30 18:52:27.056538 [DEBUG] switch_core_media_bug.c:457 Attaching BUG to sofia/internal/200@my.domain 2012-01-30 18:52:27.076532 [DEBUG] switch_core_io.c:340 Setting BUG Codec PCMA:8 EXECUTE sofia/internal/200@my.domain detect_speech(resume) 2012-01-30 18:52:27.576530 [DEBUG] switch_ivr_play_say.c:1306 Codec Activated L16@8000hz 1 channels 20ms 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 EXECUTE sofia/internal/200@my.domain detect_speech(resume) So there is no error message. Googling around I expected I should see something like this: SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="44"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> But there is none of this type in the logs. What could I do to investigate further? * maybe there is an older version of pocketsphinx on the system, which conflicts? (system was set up in may 2011) * Is there a way to have more debugging informations within pocket sphinx? Any help is appreciated. Best regards Peter Am 06.09.2010 09:50, schrieb Thangappan.M:
Dear all,
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. When I said "TAKEOUT' it was not recognizing my words.
In the freeswitch CLI it shown the following messages.
EXECUTE sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> javascript(ps_pizza.js) 2010-09-06 13:18:48.023673 [DEBUG] sofia_glue.c:2594 AUDIO RTP [sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222>] 192.168.1.222 port 32590 -> 192.168.6.60 port 8000 codec: 8 ms: 20 2010-09-06 13:18:48.024705 [DEBUG] switch_rtp.c:1182 Starting timer [soft] 160 bytes per 20ms 2010-09-06 13:18:48.025710 [DEBUG] sofia_glue.c:2774 Set 2833 dtmf send payload to 101 2010-09-06 13:18:48.026799 [DEBUG] sofia_glue.c:2779 Set 2833 dtmf receive payload to 101 2010-09-06 13:18:48.026799 [DEBUG] mod_sofia.c:636 Local SDP sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222>: v=0 o=FreeSWITCH 1283726738 1283726739 IN IP4 192.168.1.222 s=FreeSWITCH c=IN IP4 192.168.1.222 t=0 0 m=audio 32590 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
2010-09-06 13:18:48.028235 [DEBUG] switch_core_session.c:641 Send signal sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> [BREAK] 2010-09-06 13:18:48.028235 [DEBUG] sofia.c:4153 Channel sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> entering state [completed][200] 2010-09-06 13:18:48.029256 [NOTICE] mod_spidermonkey.c:2066 Channel [sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222>] has been answered 2010-09-06 13:18:48.030269 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16@8000hz 1 channels 20ms 2010-09-06 13:18:48.123555 [DEBUG] sofia.c:4153 Channel sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> entering state [ready][200] 2010-09-06 13:18:48.171705 [DEBUG] switch_rtp.c:2066 Correct ip/port confirmed. 2010-09-06 13:18:50.212417 [DEBUG] switch_ivr_play_say.c:1444 done playing file EXECUTE sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> detect_speech(pocketsphinx pizza_order undefined) 2010-09-06 13:18:51.768030 [DEBUG] switch_core_media_bug.c:360 Attaching BUG to sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> EXECUTE sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> detect_speech(resume) 2010-09-06 13:18:51.774074 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16@8000hz 1 channels 20ms 2010-09-06 13:18:54.492023 [DEBUG] switch_ivr_play_say.c:1444 done playing file EXECUTE sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> detect_speech(resume) EXECUTE sofia/internal/1000@192.168.1.222 <mailto:1000@192.168.1.222> detect_speech(resume) 2010-09-06 13:19:01.534474 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16@8000hz 1 channels 20ms
Please help me.....
-- Regards, Thangappan.M
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org