[Freeswitch-users] FreeSwitch - PcoketSphinx Prompt Playback & Recognition Issue...

Moiz Chinoy moizchinoy at gmail.com
Wed Feb 18 07:09:47 PST 2009


Hi,

I have downloaded and build the Freeswitch from
http://files.freeswitch.org/freeswitch-1.0.3RC1.tar.gz on Windows XP.

Everything built successfully. 
Then I configured PocketSphinx as described at
http://wiki.freeswitch.org/wiki/Mod_pocketsphinx.
The problem is that prompts (wave files) are not being played properly while
testing the Pizza demo i.e it plays, stops then start playing again...

I am using heaset for testing.

Moreover, the recognition seems to be very poor.

Any clue what might be the issue?

Moiz Chinoy.

Following is snippet from log:

2009-02-18 16:59:59 [DEBUG] switch_core_session.c:513
switch_core_session_perform_receive_message() Send signal
sofia/internal/1000 at 192.168.16.63 [BREAK]
2009-02-18 16:59:59 [NOTICE] mod_spidermonkey.c:2041 session_answer()
Channel [sofia/internal/1000 at 192.168.16.63] has been answered
2009-02-18 16:59:59 [DEBUG] switch_channel.c:179 switch_channel_audio_sync()
sofia/internal/1000 at 192.168.16.63 receive message [AUDIO_SYNC]
2009-02-18 16:59:59 [DEBUG] sofia.c:2672 sofia_handle_sip_i_state() Channel
sofia/internal/1000 at 192.168.16.63 entering state [completed]
2009-02-18 16:59:59 [DEBUG] sofia.c:2672 sofia_handle_sip_i_state() Channel
sofia/internal/1000 at 192.168.16.63 entering state [ready]
2009-02-18 16:59:59 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file()
Codec Activated L16 at 8000hz 1 channels 20ms
2009-02-18 16:59:59 [DEBUG] switch_core_io.c:654
switch_core_session_write_frame() sofia/internal/1000 at 192.168.16.63 receive
message [TRANSCODING_NECESSARY]
2009-02-18 17:00:00 [INFO] switch_rtp.c:1422 rtp_common_read() Auto Changing
port from 127.0.0.1:49194 to 192.168.16.63:49194
2009-02-18 17:00:02 [DEBUG] switch_ivr_play_say.c:1258
switch_ivr_play_file() done playing file
2009-02-18 17:00:11 [WARNING] switch_scheduler.c:114 task_thread_loop() Task
was executed late by 2 seconds 1 heartbeat (core)
2009-02-18 17:00:18 [DEBUG] switch_core_media_bug.c:284
switch_core_media_bug_add() Attaching BUG to
sofia/internal/1000 at 192.168.16.63
2009-02-18 17:00:18 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame() sofia/internal/1000 at 192.168.16.63 receive
message [TRANSCODING_NECESSARY]
2009-02-18 17:00:51 [WARNING] switch_scheduler.c:114 task_thread_loop() Task
was executed late by 20 seconds 1 heartbeat (core)
2009-02-18 17:00:51 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file()
Codec Activated L16 at 8000hz 1 channels 20ms
2009-02-18 17:00:58 [DEBUG] switch_ivr_play_say.c:1258
switch_ivr_play_file() done playing file
2009-02-18 17:00:58 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame() sofia/internal/1000 at 192.168.16.63 receive
message [TRANSCODING_NECESSARY]
2009-02-18 17:01:00 [DEBUG] mod_pocketsphinx.c:386
pocketsphinx_asr_get_results() Recognized: ‎‎‎‎««««««««î‏î‏, Score: 100
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:150 console_log()
----XML:
<interpretation grammar="pizza_order" score="100">
  <result name="match">‎‎‎‎««««««««î‏î‏</result>
  <input>‎‎‎‎««««««««î‏î‏</input>
</interpretation>
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:150 console_log()
----Heard [‎‎‎‎««««««««î‏î‏]
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:150 console_log()
----Hit score 100/40/70
2009-02-18 17:01:00 [INFO] js_modules/SpeechTools.jm:150 console_log()
----‎‎‎‎««««««««î‏î‏
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:365 console_log()
----Testing [0] [0] ‎‎‎‎««««««««î‏î‏ =~ [Delivery:::Delivery]
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:365 console_log()
----Testing [0] [1] ‎‎‎‎««««««««î‏î‏ =~ [Takeout:::Pickup]
2009-02-18 17:01:00 [DEBUG] js_modules/SpeechTools.jm:365 console_log()
----Testing [0] [2] ‎‎‎‎««««««««î‏î‏ =~ [Pickup:::Pickup]
2009-02-18 17:01:02 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume()
Manually Resuming
2009-02-18 17:01:02 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file()
Codec Activated L16 at 8000hz 1 channels 20ms
2009-02-18 17:01:02 [DEBUG] switch_ivr_play_say.c:1258
switch_ivr_play_file() done playing file
2009-02-18 17:01:02 [DEBUG] switch_core_io.c:234
switch_core_session_read_frame() sofia/internal/1000 at 192.168.16.63 receive
message [TRANSCODING_NECESSARY]
2009-02-18 17:01:03 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file()
Codec Activated L16 at 8000hz 1 channels 20ms
2009-02-18 17:01:06 [DEBUG] switch_ivr_play_say.c:1258
switch_ivr_play_file() done playing file
-- 
View this message in context: http://www.nabble.com/FreeSwitch---PcoketSphinx-Prompt-Playback---Recognition-Issue...-tp22080033p22080033.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list