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 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] 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:
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 [BREAK]
2010-09-06 13:18:48.028235 [DEBUG] sofia.c:4153 Channel sofia/internal/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] 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 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 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
EXECUTE sofia/internal/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 detect_speech(resume)
EXECUTE sofia/internal/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