[asterisk-speech-rec] Help With Lumenvox
Steve Mathers
Steve.Mathers at prosodieCRM.com
Fri Oct 10 15:49:47 CDT 2008
Still need a bit of info, u said you knew all the asterisk logs....u
checked /var/log/asterisk/messages log file? It would display any
notices, warnings or errors. As for the lumenvox logs ive not used these
in the time I had these machines in production. Also, are all the
permission in order? Is everything setup as root or did u create a user
to run this and then change the folder permissions?
________________________________
From: asterisk-speech-rec-bounces at lists.digium.com
[mailto:asterisk-speech-rec-bounces at lists.digium.com] On Behalf Of
Giancarlo Rubio
Sent: Friday, October 10, 2008 1:03 PM
To: Use of speech recognition in Asterisk
Subject: Re: [asterisk-speech-rec] Help With Lumenvox
2008/10/10 Steve Mathers <Steve.Mathers at prosodiecrm.com>
Can we see the extensions code?
The extension is the same are avaiable on pizza-demo
[Lumenvox]
exten => 9999,1,Goto(pizza,s,1)
[pizza]
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,SpeechCreate
exten => s,4,Goto(order-pizza,s,1)
[order-pizza]
exten => s,1,Playback(GP-Greeting)
;The THRESHOLD is a value compared to the
;SPEECH_SCORE(x), which is the confidence score
;returned by the Speech Engine.
exten => s,2,Set(THRESHOLD=500)
exten => s,3,Goto(pizza-delivery,s,1)
;This context will get whether the caller
;requests delivery or takeout
[pizza-delivery]
exten => s,1,SpeechActivateGrammar(order)
exten => s,2,SpeechStart
exten => s,3,SpeechBackground(GP-DeliveryorTakeout|15)
;If there are no results (no input) then we re-prompt them.
exten => s,4,GotoIf($["${SPEECH(results)}" = "0"]?5:7)
exten => s,5,Playback(GP-NoDeliveryorTake-out)
exten => s,6,Goto(2)
exten => s,7,Set(TEXT=${SPEECH_TEXT(0)})
;If the confidence score is below the threshold then we confirm the
intent
;of the spoken phrase.
exten => s,8,Gotoif($[ "${SPEECH_SCORE(0)}" > "${THRESHOLD}" ]?12:9)
exten => s,9,Macro(speech-confirm,${SPEECH_TEXT(0)})
exten => s,10,GotoIf($["${CONFIRM}" = "no"]?3:11)
exten => s,11,Noop(speech_score=${SPEECH_SCORE(0)})
....
http://www.asterisk.org/doxygen/1.4/AstSpeech.html
this link will help you with the speech functions.
I'm newbie on speech engine and i will use the demo to test if is speech
is running correctly.
Also I don't see any errors in ur logs u posted...so does the
application/asterisk freeze?
No the aplication only wait for voice,..
Does asterisk need to be restarted?
No
License server running?
Off course
ps ax|grep lv
15525 ? Ssl 0:19 lv_sre_server -console
15610 ? Ssl 0:00 lv_license_server -console
22281 pts/4 R+ 0:00 grep lv
Also what versions of asterisk,
Asterisk 1.4.20.1
lumenvox,
v oip*CLI> lumenvox show version
Lumenvox connector version: 22
and OS are you using?
centos , with trixbox
All the asterisk logs are in /var/log/asterisk...
I know asterisk logs , and have read all possible. Lumenvox have
/var/log/lumenvox directory and too logs files, exist an specific for
debug??
________________________________
From: asterisk-speech-rec-bounces at lists.digium.com
[mailto:asterisk-speech-rec-bounces at lists.digium.com] On Behalf Of
Giancarlo Rubio
Sent: Friday, October 10, 2008 12:13 PM
To: asterisk-speech-rec at lists.digium.com
Subject: [asterisk-speech-rec] Help With Lumenvox
Hi,
I have bought an lumenvox speech engine and have sucessfull
setup the license manager.
I will try to test the speech with pizza-demo. After setup
pizza-demo, copying all the extension, sounds and agi (with permissions)
i called to the extension. The applications always stop in
speechbackground,
[Oct 10 15:07:06] -- Executing [9999 at Lumenvox:1]
Goto("SIP/9010-0a19e620", "pizza|s|1") in new stack
[Oct 10 15:07:06] -- Goto (pizza,s,1)
[Oct 10 15:07:06] -- Executing [s at pizza:1]
Answer("SIP/9010-0a19e620", "") in new stack
[Oct 10 15:07:06] -- Executing [s at pizza:2]
Wait("SIP/9010-0a19e620", "1") in new stack
[Oct 10 15:07:07] -- Executing [s at pizza:3]
SpeechCreate("SIP/9010-0a19e620", "") in new stack
[Oct 10 15:07:07] -- Executing [s at pizza:4]
Goto("SIP/9010-0a19e620", "order-pizza|s|1") in new stack
[Oct 10 15:07:07] -- Goto (order-pizza,s,1)
[Oct 10 15:07:07] -- Executing [s at order-pizza:1]
Playback("SIP/9010-0a19e620", "GP-Greeting") in new stack
[Oct 10 15:07:07] -- <SIP/9010-0a19e620> Playing
'GP-Greeting' (language 'en')
[Oct 10 15:07:09] -- Executing [s at order-pizza:2]
Set("SIP/9010-0a19e620", "THRESHOLD=500") in new stack
[Oct 10 15:07:09] -- Executing [s at order-pizza:3]
Goto("SIP/9010-0a19e620", "pizza-delivery|s|1") in new stack
[Oct 10 15:07:09] -- Goto (pizza-delivery,s,1)
[Oct 10 15:07:09] -- Executing [s at pizza-delivery:1]
SpeechActivateGrammar("SIP/9010-0a19e620", "order") in new stack
[Oct 10 15:07:09] -- Executing [s at pizza-delivery:2]
SpeechStart("SIP/9010-0a19e620", "") in new stack
[Oct 10 15:07:09] -- Executing [s at pizza-delivery:3]
SpeechBackground("SIP/9010-0a19e620", "GP-DeliveryorTakeout") in
How can i solve this?? logs?? What logs?? How to debug this??
#######
voip*CLI> lumenvox show grammars
Filename Name
Load Result
/etc/asterisk/grammars/yesno.gram yes_no
Success
/etc/asterisk/grammars/pizza.gram pizza
Success
/etc/asterisk/grammars/order.gram order
Success
/etc/asterisk/grammars/crust.gram crust
Success
/etc/asterisk/grammars/size.gram size
Success
/etc/asterisk/grammars/specialityorcustom.gram
specialityorcustom Success
/etc/asterisk/grammars/speciality.gram speciality
Success
/etc/asterisk/grammars/arso.gram arso
Success
voip*CLI>
###
voip*CLI> lumenvox show version
Lumenvox connector version: 22
###
module show like lumenvox
Module Description
Use Count
res_speech_lumenvox.so Lumenvox Speech Recognition
1
1 modules loaded
Thank's
--
Giancarlo Rubio
_______________________________________________
--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
--
Giancarlo Rubio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-speech-rec/attachments/20081010/d5a53297/attachment.htm
More information about the asterisk-speech-rec
mailing list