FreeSwitch - PcoketSphinx Prompt Playback & Recognition Issue...
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@192.168.16.63 [BREAK] 2009-02-18 16:59:59 [NOTICE] mod_spidermonkey.c:2041 session_answer() Channel [sofia/internal/1000@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@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@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@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@8000hz 1 channels 20ms 2009-02-18 16:59:59 [DEBUG] switch_core_io.c:654 switch_core_session_write_frame() sofia/internal/1000@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@192.168.16.63 2009-02-18 17:00:18 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@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@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@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@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@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@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---Recognitio... Sent from the Freeswitch-users mailing list archive at Nabble.com.
And one more thing... As soon as it recognizez TAKEOUT, freeswitch crashes... 2009-02-18 19:03:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [] 2009-02-18 19:03:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 98/40/70 2009-02-18 19:03:51 [INFO] js_modules/SpeechTools.jm:150 console_log() ---- 2009-02-18 19:03:51 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:03:51 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [0] =~ [Delivery:::Delivery] 2009-02-18 19:03:51 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [1] =~ [Takeout:::Pickup] 2009-02-18 19:03:51 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [2] =~ [Pickup:::Pickup] 2009-02-18 19:03:51 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:03:53 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2009-02-18 19:03:53 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:03:58 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:03:58 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:03:59 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:04:02 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:04:02 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:04:09 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2009-02-18 19:04:09 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:04:14 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:04:14 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:04:15 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:04:16 [DEBUG] mod_pocketsphinx.c:386 pocketsphinx_asr_get_results() Recognized: ف|, Score: 100 2009-02-18 19:04:16 [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 19:04:16 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [ف|] 2009-02-18 19:04:16 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 100/40/70 2009-02-18 19:04:16 [INFO] js_modules/SpeechTools.jm:150 console_log() ----ف| 2009-02-18 19:04:16 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:04:16 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [0] ف| =~ [Delivery:::Delivery] 2009-02-18 19:04:16 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [1] ف| =~ [Takeout:::Pickup] 2009-02-18 19:04:16 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [2] ف| =~ [Pickup:::Pickup] 2009-02-18 19:04:16 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:04:18 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming 2009-02-18 19:04:18 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:04:18 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:04:18 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:04:19 [DEBUG] switch_ivr_play_say.c:968 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-18 19:04:20 [DEBUG] mod_pocketsphinx.c:386 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 72 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="72"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT] 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 72/40/70 2009-02-18 19:04:20 [INFO] js_modules/SpeechTools.jm:150 console_log() ----TAKEOUT 2009-02-18 19:04:20 [DEBUG] switch_ivr_play_say.c:1258 switch_ivr_play_file() done playing file 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [0] TAKEOUT =~ [Delivery:::Delivery] 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [1] TAKEOUT =~ [Takeout:::Pickup] 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Adding Pickup 2009-02-18 19:04:20 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [2] TAKEOUT =~ [Pickup:::Pickup] 2009-02-18 19:04:20 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-18 19:04:21 [DEBUG] js_modules/SpeechTools.jm:109 console_log() Unloading grammar pizza_order Moiz Chinoy. Moiz Chinoy wrote:
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@192.168.16.63 [BREAK] 2009-02-18 16:59:59 [NOTICE] mod_spidermonkey.c:2041 session_answer() Channel [sofia/internal/1000@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@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@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@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@8000hz 1 channels 20ms 2009-02-18 16:59:59 [DEBUG] switch_core_io.c:654 switch_core_session_write_frame() sofia/internal/1000@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@192.168.16.63 2009-02-18 17:00:18 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@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@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@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@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@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@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---Recognitio... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Please update to SVN Trunk and try again... what are the specs on your machine? I have been testing PocketSphinx the past couple of days on linux again and its fine. /b On Feb 18, 2009, at 9:09 AM, Moiz Chinoy wrote:
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.
System specs: - Intel Core 2 Duo - 2.00 GHZ CPU - 1 Gb Ram I will download the latest from here http://files.freeswitch.org/freeswitch-snapshot.tar.gz and will try it. Moiz Chinoy. Brian West-3 wrote:
Please update to SVN Trunk and try again... what are the specs on your machine?
I have been testing PocketSphinx the past couple of days on linux again and its fine.
/b
On Feb 18, 2009, at 9:09 AM, Moiz Chinoy wrote:
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.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/FreeSwitch---PcoketSphinx-Prompt-Playback---Recognitio... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Please go get an SVN client for windows... svn update vs downloading the tarball every day will save bandwidth. ;) /b On Feb 18, 2009, at 9:49 AM, Moiz Chinoy wrote:
System specs:
- Intel Core 2 Duo - 2.00 GHZ CPU - 1 Gb Ram
I will download the latest from here http://files.freeswitch.org/freeswitch-snapshot.tar.gz and will try it.
Moiz Chinoy.
On Wed, Feb 18, 2009 at 7:55 AM, Brian West <brian@freeswitch.org> wrote:
Please go get an SVN client for windows... svn update vs downloading the tarball every day will save bandwidth. ;) /b
Use this for windows: http://tortoisesvn.tigris.org/ -MC
Thanks for your help.... I have downloaded the latest build and tried... Often in the log I see cryptic characters in the XML part returned by ASR. Is it silence or nose?? If yes is there any way we can control it? Prompt playback problem is still there... So far I am only able to get TAKEOUT and YES recognized and then the application crashes with Windows error: AppName: freeswitch.exe AppVer: 0.0.0.0 ModName: sphinxbase.dll ModVer: 0.0.0.0 Offset: 00053791 Below is log snippet: o=FreeSWITCH 1235002217 1235002218 IN IP4 192.168.16.63 s=FreeSWITCH c=IN IP4 192.168.16.63 t=0 0 m=audio 25190 RTP/AVP 3 101 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv 2009-02-19 11:10:07 [DEBUG] switch_core_session.c:523 switch_core_session_perform_receive_message() Send signal sofia/internal/1000@192.168.16.63 [BREAK] 2009-02-19 11:10:07 [NOTICE] mod_spidermonkey.c:2041 session_answer() Channel [sofia/internal/1000@192.168.16.63] has been answered 2009-02-19 11:10:07 [DEBUG] switch_channel.c:179 switch_channel_audio_sync() sofia/internal/1000@192.168.16.63 receive message [AUDIO_SYNC] 2009-02-19 11:10:07 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:07 [DEBUG] switch_core_io.c:652 switch_core_session_write_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:07 [DEBUG] sofia.c:2725 sofia_handle_sip_i_state() Channel sofia/internal/1000@192.168.16.63 entering state [completed] 2009-02-19 11:10:07 [DEBUG] sofia.c:2725 sofia_handle_sip_i_state() Channel sofia/internal/1000@192.168.16.63 entering state [ready] 2009-02-19 11:10:07 [INFO] switch_rtp.c:1422 rtp_common_read() Auto Changing port from 127.0.0.1:49166 to 192.168.16.63:49166 2009-02-19 11:10:09 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:12 [DEBUG] switch_core_media_bug.c:297 switch_core_media_bug_add() Attaching BUG to sofia/internal/1000@192.168.16.63 2009-02-19 11:10:12 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:12 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:15 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:15 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:18 [DEBUG] mod_pocketsphinx.c:387 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 62 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_order" score="62"> <result name="match">TAKEOUT</result> <input>TAKEOUT</input> </interpretation> 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT] 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 62/40/70 2009-02-19 11:10:18 [INFO] js_modules/SpeechTools.jm:150 console_log() ----TAKEOUT 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----We need to confirm this one 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [1] [0] TAKEOUT =~ [Delivery:::Delivery] 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [1] [1] TAKEOUT =~ [Takeout:::Pickup] 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Adding Pickup 2009-02-19 11:10:18 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [1] [2] TAKEOUT =~ [Pickup:::Pickup] 2009-02-19 11:10:19 [DEBUG] js_modules/SpeechTools.jm:109 console_log() Unloading grammar pizza_order 2009-02-19 11:10:21 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:22 [DEBUG] mod_pocketsphinx.c:387 pocketsphinx_asr_get_results() Recognized: , Score: 100 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_yesno" score="100"> <result name="match"></result> <input></input> </interpretation> 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [] 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 100/40/20 2009-02-19 11:10:22 [INFO] js_modules/SpeechTools.jm:150 console_log() ---- 2009-02-19 11:10:22 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [0] =~ [^yes:::yes] 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [1] =~ [^correct:::yes] 2009-02-19 11:10:22 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [2] =~ [^no:::no] 2009-02-19 11:10:22 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:23 [DEBUG] mod_pocketsphinx.c:343 pocketsphinx_asr_resume() Manually Resuming 2009-02-19 11:10:23 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:25 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:25 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:26 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:29 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:29 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:31 [DEBUG] switch_ivr_play_say.c:989 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-02-19 11:10:32 [DEBUG] mod_pocketsphinx.c:387 pocketsphinx_asr_get_results() Recognized: YES, Score: 100 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML: <interpretation grammar="pizza_yesno" score="100"> <result name="match">YES</result> <input>YES</input> </interpretation> 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [YES] 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 100/40/20 2009-02-19 11:10:32 [INFO] js_modules/SpeechTools.jm:150 console_log() ----YES 2009-02-19 11:10:32 [DEBUG] switch_ivr_play_say.c:1279 switch_ivr_play_file() done playing file 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [0] YES =~ [^yes:::yes] 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Adding yes 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [1] YES =~ [^correct:::yes] 2009-02-19 11:10:32 [DEBUG] js_modules/SpeechTools.jm:365 console_log() ----Testing [0] [2] YES =~ [^no:::no] 2009-02-19 11:10:32 [DEBUG] switch_core_io.c:234 switch_core_session_read_frame() sofia/internal/1000@192.168.16.63 receive message [TRANSCODING_NECESSARY] 2009-02-19 11:10:33 [DEBUG] js_modules/SpeechTools.jm:109 console_log() Unloading grammar pizza_yesno On Wed, Feb 18, 2009 at 11:48 PM, Michael Collins <msc@freeswitch.org> wrote:
On Wed, Feb 18, 2009 at 7:55 AM, Brian West <brian@freeswitch.org> wrote:
Please go get an SVN client for windows... svn update vs downloading the tarball every day will save bandwidth. ;) /b
Use this for windows: http://tortoisesvn.tigris.org/
-MC
_______________________________________________ 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
-- Regards, Moiz Chinoy. Mobile: 055-8527492
No clue, I haven't ever seen that behavior on linux. Maybe you can try to narrow it down and report it on jira.. chances are its a bug in the pocketsphinx libs. /b On Feb 19, 2009, at 1:29 AM, Moiz Chinoy wrote:
Often in the log I see cryptic characters in the XML part returned by ASR. Is it silence or nose?? If yes is there any way we can control it?
Can anyone please explain the following fields from pocketsphinx.conf.xml: <param name="threshold" value="400"/> <param name="silence-hits" value="25"/> <param name="listen-hits" value="1"/> <param name="auto-reload" value="true"/> <!--<param name="narrowband-model" value="communicator"/>--> <!--<param name="wideband-model" value="wsj1"/>--> Moiz Chinoy. On Thu, Feb 19, 2009 at 11:43 AM, Brian West <brian@freeswitch.org> wrote:
No clue, I haven't ever seen that behavior on linux. Maybe you can try to narrow it down and report it on jira.. chances are its a bug in the pocketsphinx libs.
/b
On Feb 19, 2009, at 1:29 AM, Moiz Chinoy wrote:
Often in the log I see cryptic characters in the XML part returned by ASR. Is it silence or nose?? If yes is there any way we can control it?
_______________________________________________ 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
-- Regards, Moiz Chinoy. Mobile: 055-8527492
Can anyone please help me sort it out. Below is the call stack when sphinxbase.dll crashes: sphinxbase.dll!logmath_get_base(logmath_s * lmath=0x00000000) Line 370 + 0x3 bytes C sphinxbase.dll!ngram_model_set_init(cmd_ln_s * config=0x01f01068, ngram_model_s * * models=0x04a9e1dc, char * * names=0x047601ac, const float * weights=0x00000000, int n_models=1) Line 140 + 0x12 bytes C pocketsphinx.dll!ngram_search_init(cmd_ln_s * config=0x01f01068, acmod_s * acmod=0x035add20, dict_s * dict=0x0373ed08) Line 209 + 0x19 bytes C pocketsphinx.dll!ps_reinit(ps_decoder_s * ps=0x03587490, cmd_ln_s * config=0x01f01068) Line 179 + 0x17 bytes C mod_pocketsphinx.dll!pocketsphinx_asr_load_grammar(switch_asr_handle * ah=0x0365a3a0, const char * grammar=0x036d1428, const char * path=0x038622b0) Line 168 + 0x15 bytes C FreeSwitch.dll!switch_core_asr_load_grammar(switch_asr_handle * ah=0x0365a3a0, const char * grammar=0x036d1428, const char * path=0x038622b0) Line 94 + 0x18 bytes C FreeSwitch.dll!switch_ivr_detect_speech_load_grammar(switch_core_session * session=0x0353a308, char * grammar=0x036d1428, char * path=0x00000000) Line 1973 + 0x14 bytes C mod_dptools.dll!detect_speech_function(switch_core_session * session=0x0353a308, const char * data=0x036fa6b8) Line 97 + 0x14 bytes C FreeSwitch.dll!switch_core_session_exec(switch_core_session * session=0x0353a308, const switch_application_interface * application_interface=0x01f0c6c8, const char * arg=0x036fa6b8) Line 1342 + 0x12 bytes C mod_spidermonkey.dll!session_execute(JSContext * cx=0x035433b0, JSObject * obj=0x035b0138, unsigned int argc=2, long * argv=0x03627dd8, long * rval=0x04a9e610) Line 2232 + 0x16 bytes C js32.dll!js_Invoke(JSContext * cx=0x035433b0, unsigned int argc=2, unsigned int flags=0) Line 1181 + 0x20 bytes C js32.dll!js_Interpret(JSContext * cx=0x035433b0, unsigned char * pc=0x03630e56, long * result=0x04a9f014) Line 3571 + 0xf bytes C js32.dll!js_Execute(JSContext * cx=0x035433b0, JSObject * chain=0x035ae7c8, JSScript * script=0x03626fe8, JSStackFrame * down=0x00000000, unsigned int flags=0, long * result=0x04a9f0e8) Line 1427 + 0x13 bytes C js32.dll!JS_ExecuteScript(JSContext * cx=0x035433b0, JSObject * obj=0x035ae7c8, JSScript * script=0x03626fe8, long * rval=0x04a9f0e8) Line 4035 + 0x19 bytes C mod_spidermonkey.dll!eval_some_js(const char * code=0x035421d8, JSContext * cx=0x035433b0, JSObject * obj=0x035ae7c8, long * rval=0x04a9f0e8) Line 103 + 0x15 bytes C mod_spidermonkey.dll!js_parse_and_execute(switch_core_session * session=0x0353a308, const char * input_code=0x035421d8, request_obj * ro=0x00000000) Line 3582 + 0x1e bytes C mod_spidermonkey.dll!js_dp_function(switch_core_session * session=0x0353a308, const char * data=0x035421d8) Line 3591 + 0xf bytes C FreeSwitch.dll!switch_core_session_exec(switch_core_session * session=0x0353a308, const switch_application_interface * application_interface=0x020713f0, const char * arg=0x035421d8) Line 1342 + 0x12 bytes C FreeSwitch.dll!switch_core_session_execute_application(switch_core_session * session=0x0353a308, const char * app=0x035421c8, const char * arg=0x035421d8) Line 1266 C FreeSwitch.dll!switch_core_standard_on_execute(switch_core_session * session=0x0353a308) Line 157 + 0x16 bytes C FreeSwitch.dll!switch_core_session_run(switch_core_session * session=0x0353a308) Line 464 + 0x204 bytes C FreeSwitch.dll!switch_core_session_thread(apr_thread_t * thread=0x020778d0, void * obj=0x0353a308) Line 951 C libapr.dll!dummy_worker(void * opaque=0x020778d0) Line 80 C msvcr90d.dll!1023dfd3() [Frames below may be incorrect and/or missing, no symbols loaded for msvcr90d.dll] msvcr90d.dll!1023df69() kernel32.dll!7c80b683() Moiz Chinoy. On Thu, Feb 19, 2009 at 1:29 PM, Moiz Chinoy <moizchinoy@gmail.com> wrote:
Can anyone please explain the following fields from pocketsphinx.conf.xml:
<param name="threshold" value="400"/> <param name="silence-hits" value="25"/> <param name="listen-hits" value="1"/> <param name="auto-reload" value="true"/> <!--<param name="narrowband-model" value="communicator"/>--> <!--<param name="wideband-model" value="wsj1"/>-->
Moiz Chinoy.
On Thu, Feb 19, 2009 at 11:43 AM, Brian West <brian@freeswitch.org> wrote:
No clue, I haven't ever seen that behavior on linux. Maybe you can try to narrow it down and report it on jira.. chances are its a bug in the pocketsphinx libs.
/b
On Feb 19, 2009, at 1:29 AM, Moiz Chinoy wrote:
Often in the log I see cryptic characters in the XML part returned by ASR. Is it silence or nose?? If yes is there any way we can control it?
_______________________________________________ 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
-- Regards, Moiz Chinoy. Mobile: 055-8527492
-- Regards, Moiz Chinoy. Mobile: 055-8527492
participants (3)
-
Brian West
-
Michael Collins
-
Moiz Chinoy