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 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 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 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 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 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 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 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 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 href="mailto:1000@192.168.1.222">1000@192.168.1.222</a><br>
EXECUTE sofia/internal/<a 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 href="mailto:1000@192.168.1.222">1000@192.168.1.222</a> detect_speech(resume)<br>EXECUTE sofia/internal/<a 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>