[Freeswitch-users] Different problems with "pizza" demo on newer build.

mszlazak at aol.com mszlazak at aol.com
Fri Nov 7 11:22:46 PST 2008



 Hi Anthony and Brian.



I should have done this yesterday but I'm learning debugging in this IDE environment as I go. 

Anyway, have you looked at the .lm grammar files in the "pizza demo"?



For the grammar file download in the wiki, I finding 9 .lm files: 



6859, pizza_arso, pizza_crust, pizza_order, pizza_size, pizza_specialty, pizza_toppings, pizza_type, pizza_yesno.



Of these, 4 files are empty: 



pizza_crust, pizza_size, pizza_specialty, pizza_toppings.



I commented out the related sections in ps_pizza.js and the "pizza demo" seemed to work in this shortened form. 
It took the type of order (nothing else), order confirmation, when to come pick-up and then hung-up.



Could I get the rest of the .lm files? Updating the grammar files download for "pizza" would nice.



Thanks.



Mark.

  





 





 



-----Original Message-----

From: Anthony Minessale <anthony.minessale at gmail.com>

To: freeswitch-users at lists.freeswitch.org

Sent: Thu, 6 Nov 2008 6:22 am

Subject: Re: [Freeswitch-users] Different problems with "pizza" demo on newer build.












can you please download and build the development snapshot instead of the 1.0.1 since we are almost to 1.0.2 now.



http://files.freeswitch.org/freeswitch-snapshot.tar.gz








On Wed, Nov 5, 2008 at 10:05 PM,  <mszlazak at aol.com> wrote:






 Yup, I'm using ps_pizza.js.











 Mark
















 





-----Original Message-----


From: Brian West <brian at freeswitch.org>


To: freeswitch-users at lists.freeswitch.org


Sent: Wed, 5 Nov 2008 4:50 pm


Subject: Re: [Freeswitch-users] Different problems with "pizza" demo on newer build.















Looks like the score is messed up.  Are you using ps_pizza.js?











/b














On Nov 5, 2008, at 6:44 PM, mszlazak at aol.com wrote:





OK, I did my first FS "build" today from download "freeswitch-1.0.1.tar.gz" on Windows XP Pro with Visual C++ 2008 Express instead of using my previous MSI installed build which apparently uses the older FS version 1.0.9570.



 


 I'm not getting a crash as I did before with the MSI build on the "pizza" demo. Instead, in the newer build, the demo gets stuck in a loop and can't break out no matter what I say. See below:


 


 Any advice?


 


 Thank you in advance.


 Mark.


 


 </interpretation>


 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [²²²²½½½½½½½½ε■ε■]


 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:22:19 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:22:21 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:22:21 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:25 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:25 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:26 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:26 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0


 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML:


 <interpretation grammar="pizza_order" score="0">


   <result name="match">TAKEOUT</result>


   <input>TAKEOUT</input>


 </interpretation>


 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT]


 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:22:26 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:26 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:22:26 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:27 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:22:27 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:33 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:33 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:34 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:34 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:34 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:35 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0


 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML:


 <interpretation grammar="pizza_order" score="0">


   <result name="match">TAKEOUT</result>


   <input>TAKEOUT</input>


 </interpretation>


 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT]


 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:22:35 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:22:37 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:22:37 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:42 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:42 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:43 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: DELIVERY, Score: 0


 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML:


 <interpretation grammar="pizza_order" score="0">


   <result name="match">DELIVERY</result>


   <input>DELIVERY</input>


 </interpretation>


 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [DELIVERY]


 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:22:43 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:22:44 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:22:44 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:50 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:50 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:50 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:51 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: TAKEOUT, Score: 0


 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML:


 <interpretation grammar="pizza_order" score="0">


   <result name="match">TAKEOUT</result>


   <input>TAKEOUT</input>


 </interpretation>


 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [TAKEOUT]


 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:22:51 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:51 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:22:51 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:53 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:22:53 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:22:58 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:22:58 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:22:59 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:23:00 [DEBUG] switch_ivr_play_say.c:1203 switch_ivr_play_file() done playing file


 2008-11-05 16:23:00 [DEBUG] switch_core_session.c:430 switch_core_session_receive_message() Kill sofia/internal/1000 at 10.0.0.2 [BREAK]


 2008-11-05 16:23:01 [DEBUG] mod_pocketsphinx.c:389 pocketsphinx_asr_get_results() Recognized: PICKUP, Score: 0


 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----XML:


 <interpretation grammar="pizza_order" score="0">


   <result name="match">PICKUP</result>


   <input>PICKUP</input>


 </interpretation>


 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Heard [PICKUP]


 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:150 console_log() ----Hit score 0/1/78


 2008-11-05 16:23:01 [DEBUG] js_modules/SpeechTools.jm:382 console_log() ----We don't understand this


 2008-11-05 16:23:03 [DEBUG] mod_pocketsphinx.c:342 pocketsphinx_asr_resume() Manually Resuming


 2008-11-05 16:23:03 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms


 2008-11-05 16:23:04 [DEBUG] sofia.c:197 sofia_event_callback() event [nua_i_state] status [0][INVITE sent] session: sofia/internal/1000 at 10.0.0.2


 2008-11-05 16:23:04 [DEBUG] sofia.c:2129 sofia_handle_sip_i_state() Channel sofia/internal/1000 at 10.0.0.2 entering state [calling]


 2008-11-05 16:23:04 [DEBUG] sofia.c:2129 sofia_handle_sip_i_state() Channel sofia/internal/1000 at 10.0.0.2 entering state [ready]


 2008-11-05 16:23:04 [DEBUG] sofia.c:2133 sofia_handle_sip_i_state() Remote SDP:


 








Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now! 



 _______________________________________________



Freeswitch-users mailing list


Freeswitch-users at lists.freeswitch.org


http://lists.freeswitch.org/mailman/listinfo/freeswitch-users


UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users


http://www.freeswitch.org












=




 







_______________________________________________



Freeswitch-users mailing list



Freeswitch-users at lists.freeswitch.org



http://lists.freeswitch.org/mailman/listinfo/freeswitch-users



UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users



http://www.freeswitch.org








 








Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - Download Now! 









_______________________________________________


Freeswitch-users mailing list


Freeswitch-users at lists.freeswitch.org


http://lists.freeswitch.org/mailman/listinfo/freeswitch-users


UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users


http://www.freeswitch.org












-- 

Anthony Minessale II



FreeSWITCH http://www.freeswitch.org/

ClueCon http://www.cluecon.com/




AIM: anthm

MSN:anthony_minessale at hotmail.com

GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com


IRC: irc.freenode.net #freeswitch



FreeSWITCH Developer Conference

sip:888 at conference.freeswitch.org

iax:guest at conference.freeswitch.org/888


googletalk:conf+888 at conference.freeswitch.org

pstn:213-799-1400





 






_______________________________________________

Freeswitch-users mailing list

Freeswitch-users at lists.freeswitch.org

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

http://www.freeswitch.org





 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/2718a088/attachment-0002.html 


More information about the FreeSWITCH-users mailing list