Posted: Mon Oct 01, 2007 4:43 pm Post subject: [asterisk-speech-rec] SPEECH(results) always return 0 proble
Michael,
Could you clarify the issue for me? You get SPEECH(spoke)=1 after SpeechActivateGrammar or after SpeechBackground? Does SpeechBackground ever return or timeout?
I recently installed the CentOS 4 running asterisk 1.4.11 and LumenVox 7.5, using Connector Bridge b17:res_speech_lumenvox.so. Everything appears to have installed properly.The example in the engine directory compiles and runs correctly.
Connecting to 127.0.0.1
Interpretation 1:
8587070707
<etc...>
I configured the pizza demo. When called, It can not recognize Delivery or Takeout input. Then I set output after SpeechActivateGrammar(order), I can get SPEECH(status)= 1, SPEECH(spoke) = 1, but the SPEECH(results) allways return 0;
I check the SRE_Log.txt found
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
Posted: Mon Oct 01, 2007 9:24 pm Post subject: [asterisk-speech-rec] SPEECH(results) always return 0 proble
Michael,
If you set save_sound_files=yes in lumenvox.conf and restart Asterisk, do any files get generated in /opt/lumenvox/engine_7.5/Lang/Responses/ ?
Also, could you turn on debugging ("core set debug 10" at the console and modify logger.conf to send debug to the console) and run a call into your test application and send us the output? You can send it directly to support@lumenvox.com (support@lumenvox.com) if you don't want to post all of that to the list.
From:asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Michael Ye
Sent: Monday, October 01, 2007 11:24 AM
To: Use of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] SPEECH(results) always return 0 problem
SpeechBackground return and not timeout. SPEECH_TEXT(0) return empty.
Thanks,
Michael
Stephen Keller <StephenKeller@LumenVox.com> wrote:
Quote:
Michael,
Could you clarify the issue for me? You get SPEECH(spoke)=1 after SpeechActivateGrammar or after SpeechBackground? Does SpeechBackground ever return or timeout?
I recently installed the CentOS 4 running asterisk 1.4.11 and LumenVox 7.5, using Connector Bridge b17:res_speech_lumenvox.so. Everything appears to have installed properly.The example in the engine directory compiles and runs correctly.
Connecting to 127.0.0.1
Interpretation 1:
8587070707
<etc...>
I configured the pizza demo. When called, It can not recognize Delivery or Takeout input. Then I set output after SpeechActivateGrammar(order), I can get SPEECH(status)= 1, SPEECH(spoke) = 1, but the SPEECH(results) allways return 0;
I check the SRE_Log.txt found
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
keep loop about 10 times.
Has anyone else had this problem ?
-- Michael
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
< if (speech->engine->get != NULL && ast_test_flag(speech, AST_SPEECH_HAVE_RESULTS)) {
---
Quote:
if (speech->engine->get != NULL) {
I am not sure if it is a bug on the ast_test_flag or the test condition but removing the ast_test_flag for the if condition seems to fix it. Just in case anyone runs into the same problem.
Sam.
From:asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Stephen Keller
Sent: October 1, 2007 5:07 PM
To: Use of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] SPEECH(results) always return 0 problem
Michael,
If you set save_sound_files=yes in lumenvox.conf and restart Asterisk, do any files get generated in /opt/lumenvox/engine_7.5/Lang/Responses/ ?
Also, could you turn on debugging ("core set debug 10" at the console and modify logger.conf to send debug to the console) and run a call into your test application and send us the output? You can send it directly to support@lumenvox.com (support@lumenvox.com) if you don't want to post all of that to the list.
From:asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Michael Ye
Sent: Monday, October 01, 2007 11:24 AM
To: Use of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] SPEECH(results) always return 0 problem
Stephen,
SpeechBackground return and not timeout. SPEECH_TEXT(0) return empty.
Thanks,
Michael
Stephen Keller <StephenKeller@LumenVox.com> wrote:
Quote:
Michael,
Could you clarify the issue for me? You get SPEECH(spoke)=1 after SpeechActivateGrammar or after SpeechBackground? Does SpeechBackground ever return or timeout?
I recently installed the CentOS 4 running asterisk 1.4.11 and LumenVox 7.5, using Connector Bridge b17:res_speech_lumenvox.so. Everything appears to have installed properly.The example in the engine directory compiles and runs correctly.
Connecting to 127.0.0.1
Interpretation 1:
8587070707
<etc...>
I configured the pizza demo. When called, It can not recognize Delivery or Takeout input. Then I set output after SpeechActivateGrammar(order), I can get SPEECH(status)= 1, SPEECH(spoke) = 1, but the SPEECH(results) allways return 0;
I check the SRE_Log.txt found
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
clsSpeechClientConnectionList::StartConnections() is creating clsSpeechClientConnection
Created clsMQGrammar_Client_Handler.
Opened clsMQGrammar_Client_Handler.
keep loop about 10 times.
Has anyone else had this problem ?
-- Michael
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum