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

Michael Ye resoluye at yahoo.com
Mon Oct 1 13:24:02 CDT 2007


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 at LumenVox.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
Support at LumenVox.com
www.LumenVox.com
  
  Winner ¡°Best Innovation in Speech Recognition¡±
AVIOS SpeechTEK Award
   


      
---------------------------------
  From: asterisk-speech-rec-bounces at lists.digium.com [mailto:asterisk-speech-rec-bounces at lists.digium.com] On Behalf Of Michael Ye
Sent: Friday, September 28, 2007 12:25 PM
To: asterisk-speech-rec at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-speech-rec/attachments/20071001/ad90ca2d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5717 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-speech-rec/attachments/20071001/ad90ca2d/attachment.gif 


More information about the asterisk-speech-rec mailing list