• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-speech-rec] SPEECH(results) always return 0 proble

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
StephenKeller at LumenVox
Guest





PostPosted: 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?
 
Is there anything in SPEECH_TEXT?

Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com (support@lumenvox.com)
www.LumenVox.com
[img]cid:582583016@01102007-11FE[/img]
Winner “Best Innovation in Speech Recognition”
AVIOS SpeechTEK Award  


Quote:
From: asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-rec@lists.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
 
 
Back to top
StephenKeller at LumenVox
Guest





PostPosted: 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.
 

Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com (support@lumenvox.com)
www.LumenVox.com
[img]cid:168020521@01102007-02A1[/img]
Winner “Best Innovation in Speech Recognition”
AVIOS SpeechTEK Award  


Quote:
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,

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 <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?
 
Is there anything in SPEECH_TEXT?
Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com (support@lumenvox.com)
www.LumenVox.com
[img]cid:168020521@01102007-02A8[/img]
Winner ˇ°Best Innovation in Speech Recognitionˇ±
AVIOS SpeechTEK Award
 


Quote:
From: asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-rec@lists.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

Back to top
samuel at streamcheck.com
Guest





PostPosted: Tue Oct 02, 2007 6:33 pm    Post subject: [asterisk-speech-rec] SPEECH(results) always return 0 proble

Stephen,
We actually tracked it down to the following code:
28c28
< ASTERISK_FILE_VERSION(__FILE__, "$Revision: 79334 $");
---
Quote:
ASTERISK_FILE_VERSION(__FILE__, "$Revision: 81406 $");
123c123

<       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.
 
Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com (support@lumenvox.com)
www.LumenVox.com
[img]cid:image001.gif@01C80500.45DC6630[/img]
Winner “Best Innovation in Speech Recognition”
AVIOS SpeechTEK Award
 
Quote:

 

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,

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 <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?
 
Is there anything in SPEECH_TEXT?
Thanks,
Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com (support@lumenvox.com)
www.LumenVox.com
[img]cid:image001.gif@01C80500.45DC6630[/img]

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

 
Quote:

 

From: asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-rec@lists.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

 
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™