List Info

Thread: Re: SPEECH(results) always return 0 problem




Re: SPEECH(results) always return 0 problem
country flaguser name
United States
2007-10-01 16:06:59
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 supportlumenvox.com">supportlumenvox.com if you don't want to post all of that to the list.
 

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
lumenvox.com href="mailto:supportlumenvox.com">SupportLumenVox.com
www.LumenVox.com

01102007-02A1" width=202 border=0>

Winner “Best Innovation in Speech Recognition”
AVIOS SpeechTEK Award

 


From: asterisk-speech-rec-bounceslists.digium.com [mailto:asterisk-speech-rec-bounceslists.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,
next is my test dialplan:
 
exten => s,1,Answer
exten => s,n,SpeechCreate()
exten => s,n,SpeechActivateGrammar(order) // order grammar set at lumenvox.conf
exten => s,n,SpeechStart
exten => s,n,SpeechBackground(GP-DeliveryorTakeout)
exten => s,n,NoOp(SPEECH(status)=${SPEECH(status)})
exten => s,n,NoOp(SPEECH(spoke)=${SPEECH(spoke)})
exten => s,n,NoOp(SPEECH(results)=${SPEECH(results)})
exten => s,n,NoOp(SPEECH_SCORE(0)=${SPEECH_SCORE(0)})
exten => s,n,NoOp(SPEECH_TEXT(0)=${SPEECH_TEXT(0)})
exten => s,n,NoOp(SPEECH_GRAMMAR(0)=${SPEECH_GRAMMAR(0)})
 
SpeechBackground return and not timeout. SPEECH_TEXT(0) return empty.
 
Thanks,
Michael

Stephen Keller <StephenKellerLumenVox.com> wrote:
Michael,
 
Could you clarify the issue for me? You get SPEECH(spoke)=1 after SpeechActivateGrammar or after SpeechBackground? Does SpeechBackground ever return or timeout?
 
Is there anything in SPEECH_TEXT?
Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
lumenvox.com href="mailto:supportlumenvox.com">SupportLumenVox.com
www.LumenVox.com
Winner ¡°Best Innovation in Speech Recognition¡±
AVIOS SpeechTEK Award
 


From: asterisk-speech-rec-bounceslists.digium.com [mailto:asterisk-speech-rec-bounceslists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-reclists.digium.com
Subject: [asterisk-speech-rec] SPEECH(results) always return 0 problem

Hi everyone,
 
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--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

View Original Image
View Original Image
Re: SPEECH(results) always return 0 problem
country flaguser name
Canada
2007-10-02 13:28:31

Stephen,

We actually tracked it down to the following code:

28c28

< ASTERISK_FILE_VERSION(__FILE__, "$Revision: 79334 $&quot;);

---

> ASTERISK_FILE_VERSION(__FILE__, "$Revision: 81406 $&quot;);

123c123

<       if (speech-&gt;engine-&gt;get != NULL && ast_test_flag(speech, AST_SPEECH_HAVE_RESULTS)) {

---

>       if (speech-&gt;engine-&gt;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-bounceslists.digium.com [mailto:asterisk-speech-rec-bounceslists.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 lumenvox.com">supportlumenvox.com if you don't want to post all of that to the list.

 

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
supportlumenvox.com" title="blocked::mailto:supportlumenvox.com">SupportLumenVox.com
www.LumenVox.com

01C80500.45DC6630">

Winner &#8220;Best Innovation in Speech Recognition”
AVIOS SpeechTEK Award

 

 


From: asterisk-speech-rec-bounceslists.digium.com [mailto:asterisk-speech-rec-bounceslists.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,

next is my test dialplan:

 

exten => s,1,Answer

exten => s,n,SpeechCreate()

exten => s,n,SpeechActivateGrammar(order) // order grammar set at lumenvox.conf
exten => s,n,SpeechStart
exten => s,n,SpeechBackground(GP-DeliveryorTakeout)
exten => s,n,NoOp(SPEECH(status)=${SPEECH(status)})
exten => s,n,NoOp(SPEECH(spoke)=${SPEECH(spoke)})
exten => s,n,NoOp(SPEECH(results)=${SPEECH(results)})
exten => s,n,NoOp(SPEECH_SCORE(0)=${SPEECH_SCORE(0)})
exten => s,n,NoOp(SPEECH_TEXT(0)=${SPEECH_TEXT(0)})
exten => s,n,NoOp(SPEECH_GRAMMAR(0)=${SPEECH_GRAMMAR(0)})

 

SpeechBackground return and not timeout. SPEECH_TEXT(0) return empty.

 

Thanks,

Michael


Stephen Keller <StephenKellerLumenVox.com> wrote:

Michael,

 

Could you clarify the issue for me? You get SPEECH(spoke)=1 after SpeechActivateGrammar or after SpeechBackground? Does SpeechBackground ever return or timeout?

 

Is there anything in SPEECH_TEXT?

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
supportlumenvox.com" title="blocked::mailto:supportlumenvox.com">SupportLumenVox.com
www.LumenVox.com

Winner ¡°Best Innovation in Speech Recognition¡±
AVIOS SpeechTEK Award

 

 


From: asterisk-speech-rec-bounceslists.digium.com [mailto:asterisk-speech-rec-bounceslists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-reclists.digium.com
Subject: [asterisk-speech-rec] SPEECH(results) always return 0 problem

Hi everyone,

 

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...&gt;

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--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

 

View Original Image
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )