undefined Pizza Demo Grammar in Mod pocketsphinx
hi every one , i have successfully compile free-switch for Mod pocketsphinx . but that asr is not recognizing the voice , i have see log where grammar is undefined .. please help me where is i getting wrong ? i have used latest pizza_js script and install also its grammar and sound files.. Many Thanks , iifi -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-i... Sent from the freeswitch-users mailing list archive at Nabble.com.
Where did you get your grammar files from? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Dec 2, 2013, at 5:57 AM, Abdullah <abdullah@smonte.com> wrote:
hi every one , i have successfully compile free-switch for Mod pocketsphinx . but that asr is not recognizing the voice , i have see log where grammar is undefined ..
please help me where is i getting wrong ? i have used latest pizza_js script and install also its grammar and sound files..
Many Thanks , iifi
hi i have download grammar file at this link .. http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Grammar_Files cd /usr/local/freeswitch/grammar wget http://files.freeswitch.org/pizza_gram.tar.gz tar xvzf pizza_gram.tar.gz thanks ... -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-i... Sent from the freeswitch-users mailing list archive at Nabble.com.
any one help? t=0 0 m=audio 27056 RTP/AVP 3 101 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2013-12-04 03:32:54.683722 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.683722 [DEBUG] sofia.c:5752 Channel sofia/internal/ 1000@192.168.1.15:5060 entering state [completed][200] 2013-12-04 03:32:54.683722 [DEBUG] switch_core_session.c:871 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.683722 [NOTICE] mod_spidermonkey.c:2109 Channel [sofia/internal/1000@192.168.1.15:5060] has been answered 2013-12-04 03:32:54.683722 [DEBUG] switch_channel.c:3643 (sofia/internal/ 1000@192.168.1.15:5060) Callstate Change EARLY -> ACTIVE 2013-12-04 03:32:54.683722 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:32:54.724175 [DEBUG] switch_rtp.c:3727 Correct ip/port confirmed. 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.903710 [DEBUG] sofia.c:5752 Channel sofia/internal/ 1000@192.168.1.15:5060 entering state [ready][200] 2013-12-04 03:32:56.883725 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-Greeting.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(pocketsphinx pizza_order undefined) 2013-12-04 03:32:56.883725 [DEBUG] switch_core_media_bug.c:532 Attaching BUG to sofia/internal/1000@192.168.1.15:5060 2013-12-04 03:32:57.363500 [DEBUG] switch_core_io.c:493 Setting BUG Codec GSM:3 EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:32:57.603859 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:00.323764 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:07.383787 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:13.263828 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-NoDeliveryorTake-out.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:14.283800 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:14.743826 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF #:800 2013-12-04 03:33:14.743826 [DEBUG] switch_channel.c:489 RECV DTMF #:800 2013-12-04 03:33:17.003799 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:19.143864 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:21.843848 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF #:640 2013-12-04 03:33:21.843848 [DEBUG] switch_channel.c:489 RECV DTMF #:640 2013-12-04 03:33:22.783851 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF 9:640 2013-12-04 03:33:22.783851 [DEBUG] switch_channel.c:489 RECV DTMF 9:640 2013-12-04 03:33:23.483841 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF 8:640 2013-12-04 03:33:23.483841 [DEBUG] switch_channel.c:489 RECV DTMF 8:640 2013-12-04 03:33:24.083888 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.083888 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.323808 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:800 2013-12-04 03:33:24.323808 [DEBUG] switch_channel.c:489 RECV DTMF *:800 2013-12-04 03:33:24.443799 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-NoDeliveryorTake-out.wav 2013-12-04 03:33:24.503892 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.503892 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.683859 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.683859 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.863812 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.863812 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.043859 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.043859 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.223800 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.223800 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.403915 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.403915 [DEBUG] switch_channel.c:489 RECV DTMF *:640 EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:25.463805 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:25.623860 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:32.303840 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:33:32.323875 [NOTICE] sofia.c:716 Hangup sofia/internal/ 1000@192.168.1.15:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2013-12-04 03:33:32.323875 [DEBUG] switch_channel.c:3183 Send signal sofia/internal/1000@192.168.1.15:5060 [KILL] 2013-12-04 03:33:32.323875 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) On Tue, Dec 3, 2013 at 10:38 AM, Abdullah [via freeswitch-users] < ml-node+s2379917n7596015h5@n2.nabble.com> wrote:
hi i have download grammar file at this link ..
http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Grammar_Files
cd /usr/local/freeswitch/grammar wget http://files.freeswitch.org/pizza_gram.tar.gz tar xvzf pizza_gram.tar.gz
thanks ...
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-i... To unsubscribe from undefined Pizza Demo Grammar in Mod pocketsphinx, click here<http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7596013&code=YWJkdWxsYWhAc21vbnRlLmNvbXw3NTk2MDEzfC0yOTQ5MjEyODg=> . NAML<http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-i... Sent from the freeswitch-users mailing list archive at Nabble.com.
can any one tell why *Not recognizing voice in mod_pocketsphinx,* *is there any other module can configure or when we enable mode POCKET-SPHINX ,frees-witch auto install every thing except configuration..* *if any other module is required for installation please tel me * On Wed, Dec 4, 2013 at 4:38 PM, Abdullah <abdullah@smonte.com> wrote:
any one help?
t=0 0 m=audio 27056 RTP/AVP 3 101 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv
2013-12-04 03:32:54.683722 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.683722 [DEBUG] sofia.c:5752 Channel sofia/internal/ 1000@192.168.1.15:5060 entering state [completed][200] 2013-12-04 03:32:54.683722 [DEBUG] switch_core_session.c:871 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.683722 [NOTICE] mod_spidermonkey.c:2109 Channel [sofia/internal/1000@192.168.1.15:5060] has been answered 2013-12-04 03:32:54.683722 [DEBUG] switch_channel.c:3643 (sofia/internal/ 1000@192.168.1.15:5060) Callstate Change EARLY -> ACTIVE 2013-12-04 03:32:54.683722 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:32:54.724175 [DEBUG] switch_rtp.c:3727 Correct ip/port confirmed. 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.883721 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:32:54.903710 [DEBUG] sofia.c:5752 Channel sofia/internal/ 1000@192.168.1.15:5060 entering state [ready][200] 2013-12-04 03:32:56.883725 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-Greeting.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(pocketsphinx pizza_order undefined) 2013-12-04 03:32:56.883725 [DEBUG] switch_core_media_bug.c:532 Attaching BUG to sofia/internal/1000@192.168.1.15:5060 2013-12-04 03:32:57.363500 [DEBUG] switch_core_io.c:493 Setting BUG Codec GSM:3 EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:32:57.603859 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:00.323764 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:07.383787 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:13.263828 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-NoDeliveryorTake-out.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:14.283800 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:14.743826 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF #:800 2013-12-04 03:33:14.743826 [DEBUG] switch_channel.c:489 RECV DTMF #:800 2013-12-04 03:33:17.003799 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:19.143864 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:21.843848 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF #:640 2013-12-04 03:33:21.843848 [DEBUG] switch_channel.c:489 RECV DTMF #:640 2013-12-04 03:33:22.783851 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF 9:640 2013-12-04 03:33:22.783851 [DEBUG] switch_channel.c:489 RECV DTMF 9:640 2013-12-04 03:33:23.483841 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF 8:640 2013-12-04 03:33:23.483841 [DEBUG] switch_channel.c:489 RECV DTMF 8:640 2013-12-04 03:33:24.083888 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.083888 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.323808 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:800 2013-12-04 03:33:24.323808 [DEBUG] switch_channel.c:489 RECV DTMF *:800 2013-12-04 03:33:24.443799 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-NoDeliveryorTake-out.wav 2013-12-04 03:33:24.503892 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.503892 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.683859 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.683859 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:24.863812 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:24.863812 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.043859 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.043859 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.223800 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.223800 [DEBUG] switch_channel.c:489 RECV DTMF *:640 2013-12-04 03:33:25.403915 [DEBUG] switch_rtp.c:3938 RTP RECV DTMF *:640 2013-12-04 03:33:25.403915 [DEBUG] switch_channel.c:489 RECV DTMF *:640 EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:25.463805 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16@8000hz 1 channels 20ms 2013-12-04 03:33:25.623860 [DEBUG] switch_ivr_play_say.c:1722 done playing file /usr/local/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume) 2013-12-04 03:33:32.303840 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] 2013-12-04 03:33:32.323875 [NOTICE] sofia.c:716 Hangup sofia/internal/ 1000@192.168.1.15:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2013-12-04 03:33:32.323875 [DEBUG] switch_channel.c:3183 Send signal sofia/internal/1000@192.168.1.15:5060 [KILL] 2013-12-04 03:33:32.323875 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/1000@192.168.1.15:5060 [BREAK] EXECUTE sofia/internal/1000@192.168.1.15:5060 detect_speech(resume)
On Tue, Dec 3, 2013 at 10:38 AM, Abdullah [via freeswitch-users] <[hidden email] <http://user/SendEmail.jtp?type=node&node=7596018&i=0>> wrote:
hi i have download grammar file at this link ..
http://wiki.freeswitch.org/wiki/Mod_pocketsphinx#Grammar_Files
cd /usr/local/freeswitch/grammar wget http://files.freeswitch.org/pizza_gram.tar.gz tar xvzf pizza_gram.tar.gz
thanks ...
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-i... To unsubscribe from undefined Pizza Demo Grammar in Mod pocketsphinx, click here. NAML<http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------ View this message in context: Re: undefined Pizza Demo Grammar in Mod pocketsphinx<http://freeswitch-users.2379917.n2.nabble.com/undefined-Pizza-Demo-Grammar-in-Mod-pocketsphinx-tp7596013p7596018.html> Sent from the freeswitch-users mailing list archive<http://freeswitch-users.2379917.n2.nabble.com/>at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Abdullah
-
Brian West
-
Muhammad Abdullah