<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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?<o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-speech-rec-bounces@lists.digium.com [mailto:asterisk-speech-rec-bounces@lists.digium.com]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Giancarlo Rubio<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, October 10, 2008
1:03 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Use
of speech recognition in Asterisk</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-speech-rec]
Help With Lumenvox</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2008/10/10 <st1:PersonName w:st="on">Steve Mathers</st1:PersonName>
<<a href="mailto:Steve.Mathers@prosodiecrm.com">Steve.Mathers@prosodiecrm.com</a>><o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Can we see the extensions code? </span></font><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
The extension is the same are avaiable on pizza-demo<br>
<br>
[Lumenvox]<br>
exten => 9999,1,Goto(pizza,s,1)<br>
[pizza]<br>
exten => s,1,Answer<br>
exten => s,2,Wait(1)<br>
exten => s,3,SpeechCreate<br>
exten => s,4,Goto(order-pizza,s,1)<br>
<br>
[order-pizza]<br>
exten => s,1,Playback(GP-Greeting)<br>
;The THRESHOLD is a value compared to the<br>
;SPEECH_SCORE(x), which is the confidence score<br>
;returned by the Speech Engine.<br>
exten => s,2,Set(THRESHOLD=500)<br>
exten => s,3,Goto(pizza-delivery,s,1)<br>
<br>
;This context will get whether the caller<br>
;requests delivery or takeout<br>
[pizza-delivery]<br>
exten => s,1,SpeechActivateGrammar(order)<br>
exten => s,2,SpeechStart<br>
exten => s,3,SpeechBackground(GP-DeliveryorTakeout|15)<br>
;If there are no results (no input) then we re-prompt them.<br>
exten => s,4,GotoIf($["${SPEECH(results)}" = "0"]?5:7)<br>
exten => s,5,Playback(GP-NoDeliveryorTake-out)<br>
exten => s,6,Goto(2)<br>
exten => s,7,Set(TEXT=${SPEECH_TEXT(0)})<br>
;If the confidence score is below the threshold then we confirm the intent<br>
;of the spoken phrase.<br>
exten => s,8,Gotoif($[ "${SPEECH_SCORE(0)}" >
"${THRESHOLD}" ]?12:9)<br>
exten => s,9,Macro(speech-confirm,${SPEECH_TEXT(0)})<br>
exten => s,10,GotoIf($["${CONFIRM}" = "no"]?3:11)<br>
exten => s,11,Noop(speech_score=${SPEECH_SCORE(0)})<br>
<br>
.... <o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'><a href="http://www.asterisk.org/doxygen/1.4/AstSpeech.html"
target="_blank">http://www.asterisk.org/doxygen/1.4/AstSpeech.html</a></span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>this link will help you with the speech functions.</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'm newbie on speech engine and i will use the demo to test if is
speech is running correctly.<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Also I don't see any errors in <st1:City w:st="on"><st1:place
w:st="on">ur</st1:place></st1:City> logs u posted…so does the
application/asterisk freeze? </span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
No the aplication only wait for voice,.. <o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Does asterisk need to be restarted?</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>No <o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>License server running? </span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Off course<br>
<br>
ps ax|grep lv<br>
15525 ? Ssl 0:19
lv_sre_server -console<br>
15610 ? Ssl 0:00
lv_license_server -console<br>
22281 pts/4 R+ 0:00 grep lv<br>
<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Also what versions of asterisk, </span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Asterisk <a href="http://1.4.20.1">1.4.20.1</a><br>
<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>lumenvox,</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>v oip*CLI> lumenvox show version<br>
Lumenvox connector version: 22<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>and OS are you using?</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
centos , with trixbox<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>All the asterisk logs are in /var/log/asterisk…</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
I know asterisk logs , and have read all possible. Lumenvox have
/var/log/lumenvox directory and too logs files, exist an specific for debug??<o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:asterisk-speech-rec-bounces@lists.digium.com" target="_blank">asterisk-speech-rec-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-speech-rec-bounces@lists.digium.com"
target="_blank">asterisk-speech-rec-bounces@lists.digium.com</a>] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Giancarlo Rubio<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, October 10, 2008
12:13 PM<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:asterisk-speech-rec@lists.digium.com" target="_blank">asterisk-speech-rec@lists.digium.com</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-speech-rec]
Help With Lumenvox<o:p></o:p></span></font></p>
</div>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi,<o:p></o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
I have bought an lumenvox speech engine and have sucessfull setup the license
manager.<br>
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,<br>
<br>
[Oct 10 15:07:06] -- Executing [9999@Lumenvox:1]
Goto("SIP/9010-0a19e620", "pizza|s|1") in new stack<br>
[Oct 10 15:07:06] -- Goto (pizza,s,1)<br>
[Oct 10 15:07:06] -- Executing [s@pizza:1]
Answer("SIP/9010-0a19e620", "") in new stack<br>
[Oct 10 15:07:06] -- Executing [s@pizza:2]
Wait("SIP/9010-0a19e620", "1") in new stack<br>
[Oct 10 15:07:07] -- Executing [s@pizza:3]
SpeechCreate("SIP/9010-0a19e620", "") in new stack<br>
[Oct 10 15:07:07] -- Executing [s@pizza:4]
Goto("SIP/9010-0a19e620", "order-pizza|s|1") in new stack<br>
[Oct 10 15:07:07] -- Goto (order-pizza,s,1)<br>
[Oct 10 15:07:07] -- Executing [s@order-pizza:1]
Playback("SIP/9010-0a19e620", "GP-Greeting") in new stack<br>
[Oct 10 15:07:07] -- <SIP/9010-0a19e620> Playing
'GP-Greeting' (language 'en')<br>
[Oct 10 15:07:09] -- Executing [s@order-pizza:2]
Set("SIP/9010-0a19e620", "THRESHOLD=500") in new stack<br>
[Oct 10 15:07:09] -- Executing [s@order-pizza:3]
Goto("SIP/9010-0a19e620", "pizza-delivery|s|1") in new
stack<br>
[Oct 10 15:07:09] -- Goto (pizza-delivery,s,1)<br>
[Oct 10 15:07:09] -- Executing [s@pizza-delivery:1]
SpeechActivateGrammar("SIP/9010-0a19e620", "order") in new
stack<br>
[Oct 10 15:07:09] -- Executing [s@pizza-delivery:2]
SpeechStart("SIP/9010-0a19e620", "") in new stack<br>
[Oct 10 15:07:09] -- Executing [s@pizza-delivery:3]
SpeechBackground("SIP/9010-0a19e620",
"GP-DeliveryorTakeout") in<br>
<br>
<br>
How can i solve this?? logs?? What logs?? How to debug this??<br>
<br>
<br>
#######<br>
voip*CLI> lumenvox show grammars<br>
Filename
Name
Load Result<br>
/etc/asterisk/grammars/yesno.gram
yes_no
Success<br>
/etc/asterisk/grammars/pizza.gram
pizza
Success<br>
/etc/asterisk/grammars/order.gram
order
Success<br>
/etc/asterisk/grammars/crust.gram
crust
Success<br>
/etc/asterisk/grammars/size.gram
size
Success<br>
/etc/asterisk/grammars/specialityorcustom.gram
specialityorcustom Success<br>
/etc/asterisk/grammars/speciality.gram
speciality Success<br>
/etc/asterisk/grammars/arso.gram
arso
Success<br>
voip*CLI><br>
###<br>
voip*CLI> lumenvox show version<br>
Lumenvox connector version: 22<br>
###<br>
<br>
module show like lumenvox<br>
Module
Description
Use Count<br>
res_speech_lumenvox.so Lumenvox
Speech
Recognition
1<br>
1 modules loaded<br>
<br>
Thank's<br>
<br>
<br>
<br>
<br clear=all>
<br>
-- <br>
Giancarlo Rubio<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--"
target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-speech-rec mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-speech-rec"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-speech-rec</a><o:p></o:p></span></font></p>
</blockquote>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Giancarlo Rubio<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>