<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>I am trying to use 
my new Asterisk/Lumenvox install for the first time.&nbsp; I set up extension 
6000 to ask "Please say yes or no", and based on the response, I playback 'yes', 
'no' or 'invalid'.&nbsp; Unfortunately, it keeps coming back as invalid.&nbsp; 
The variable ${SPEECH(results)} keeps coming back as "0".&nbsp; 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>Following are the 
setup (yesno.gram, extensions.conf) and the results (Asterisk CLI, and Lumenvox 
SRE log).&nbsp; The only error is in the SRE_Log.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>Any assistance would 
be appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>Also, I've read 
about 'tuning' Lumenvox, but I don't see any utilities to do 
that.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>Adam</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>/etc/asterisk/grammars/yesno.gram</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>#ABNF 
1.0;<BR>language en-US;<BR>mode voice;<BR>tag-format 
&lt;lumenvox/1.0&gt;;<BR>root $yesorno;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>$yes = yes;<BR>$no = 
no;<BR>$yesorno = $yes | $no;<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>&nbsp;</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>extensions.conf:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>;<BR>; Speech Rec Stuff<BR>;<BR>exten =&gt; 
6000,1,Answer<BR>exten =&gt; 6000,n,SpeechCreate()<BR>exten =&gt; 
6000,n,SpeechLoadGrammar(yesno|/etc/asterisk/grammars/yesno.gram)<BR>exten =&gt; 
6000,n,SpeechActivateGrammar(yesno)<BR>exten =&gt; 6000,n,SpeechStart()<BR>exten 
=&gt; 6000,n,SpeechBackground(please-answer-<SPAN 
class=860032615-10102006>yes-or-no</SPAN>|3)<BR>exten =&gt; 
6000,n,NoOp(SPEECH(status)=${SPEECH(status)})<BR>exten =&gt; 
6000,n,NoOp(SPEECH(spoke)=${SPEECH(spoke)})<BR>exten =&gt; 
6000,n,NoOp(SPEECH(results)=${SPEECH(results)})<BR>exten =&gt; 
6000,n,NoOp(SPEECH_SCORE(0)=${SPEECH_SCORE(0)})<BR>exten =&gt; 
6000,n,NoOp(SPEECH_TEXT(0)=${SPEECH_TEXT(0)})<BR>exten =&gt; 
6000,n,NoOp(SPEECH_GRAMMAR(0)=${SPEECH_GRAMMAR(0)})</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =&gt; 6000,n,GotoIf($["${SPEECH_TEXT(0)}" = 
"yes"]?yes)<BR>exten =&gt; 6000,n,GotoIf($["${SPEECH_TEXT(0)}" = 
"no"]?no)<BR>exten =&gt; 6000,n,Playback(<SPAN 
class=860032615-10102006>invalid-response</SPAN>)<BR>exten =&gt; 
6000,n,Goto(done)<BR>exten =&gt; 6000,n(yes),Playback(<SPAN 
class=860032615-10102006>got-yes</SPAN>)<BR>exten =&gt; 
6000,n,Goto(done)<BR>exten =&gt; 6000,n(no),Playback(<SPAN 
class=860032615-10102006>got-no</SPAN>)<BR>exten =&gt; 
6000,n,Goto(done)<BR>exten =&gt; 
6000,n(done),SpeechDeactivateGrammar(yesno)<BR>exten =&gt; 
6000,n,SpeechUnloadGrammar(yesno)<BR>exten =&gt; 6000,n,SpeechDestroy()<BR>exten 
=&gt; 6000,n,Hangup<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>cli output of 
test:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=860032615-10102006>[Oct 10 
11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:1] 
Answer("SIP/OB-0968d0f8", "") in new stack<BR>[Oct 10 
11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:2] 
SpeechCreate("SIP/OB-0968d0f8", "") in new stack<BR>[Oct 10 
11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:3] 
SpeechLoadGrammar("SIP/OB-0968d0f8", "yesno|/etc/asterisk/grammars/yesno.gram") 
in new stack<BR>[Oct 10 11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing 
[6000@international:4] SpeechActivateGrammar("SIP/OB-0968d0f8", "yesno") in new 
stack<BR>[Oct 10 11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing 
[6000@international:5] SpeechStart("SIP/OB-0968d0f8", "") in new stack<BR>[Oct 
10 11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:6] 
SpeechBackground("SIP/OB-0968d0f8", "please-answer-yes-or-no|3") in new 
stack<BR>[Oct 10 11:19:20]&nbsp;&nbsp;&nbsp;&nbsp; -- Playing 
'please-answer-yes-or-no' (language 'en')<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:7] 
NoOp("SIP/OB-0968d0f8", "SPEECH(status)=1") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:8] 
NoOp("SIP/OB-0968d0f8", "SPEECH(spoke)=1") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:9] 
NoOp("SIP/OB-0968d0f8", "SPEECH(results)=0") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:10] 
NoOp("SIP/OB-0968d0f8", "SPEECH_SCORE(0)=") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:11] 
NoOp("SIP/OB-0968d0f8", "SPEECH_TEXT(0)=") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:12] 
NoOp("SIP/OB-0968d0f8", "SPEECH_GRAMMAR(0)=") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:13] 
NoOp("SIP/OB-0968d0f8", "yesorno=") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:14] 
GotoIf("SIP/OB-0968d0f8", "0?yes") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:15] 
GotoIf("SIP/OB-0968d0f8", "0?no") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:16] 
Playback("SIP/OB-0968d0f8", "invalid-response") in new stack<BR>[Oct 10 
11:19:23]&nbsp;&nbsp;&nbsp;&nbsp; -- Playing 'invalid-response' (language 
'en')<BR>[Oct 10 11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing 
[6000@international:17] Goto("SIP/OB-0968d0f8", "done") in new stack<BR>[Oct 10 
11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Goto (international,6000,22)<BR>[Oct 10 
11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:22] 
SpeechDeactivateGrammar("SIP/OB-0968d0f8", "yesno") in new stack<BR>[Oct 10 
11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:23] 
SpeechUnloadGrammar("SIP/OB-0968d0f8", "yesno") in new stack<BR>[Oct 10 
11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:24] 
SpeechDestroy("SIP/OB-0968d0f8", "") in new stack<BR>[Oct 10 
11:19:24]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [6000@international:25] 
Hangup("SIP/OB-0968d0f8", "") in new stack<BR></SPAN></FONT><FONT face=Arial 
size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006>SRE_Log.txt:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=860032615-10102006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>10/10/2006 
11:25:07,799,0,clsSpeechClientConnectionList::OpenConnections() is creating 
clsSpeechClientConnection<BR>10/10/2006 11:25:07,799,0,Created 
clsMQGrammar_Client_Handler.<BR>10/10/2006 11:25:07,800,0,Opened 
clsMQGrammar_Client_Handler.<BR>10/10/2006 
11:25:14,387,13,clsSoundChannel::Decode1() Begin<BR>10/10/2006 
11:25:14,387,13,clsSoundChannel::SetupDecode() LangModel = 
'AmericanEnglish'<BR>10/10/2006 
11:25:14,392,13,clsSoundChannel::Decode1::SendDecode()<BR>10/10/2006 
11:25:14,392,13,ERROR clsSoundChannel::Decode1::SendDecode() Failed RetVal = 
-22<BR></FONT></DIV>
<DIV>&nbsp;</DIV><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">_____________________________________________________________</SPAN> 
<BR><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">A</SPAN></STRONG><STRONG><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">DAM </SPAN></STRONG><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">S.</SPAN></STRONG><STRONG><SPAN 
style="FONT-FAMILY: Arial"> </SPAN></STRONG><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">R</SPAN></STRONG><STRONG><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">OBINS, CCP</SPAN></STRONG><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Executive Vice President and 
CIO<BR><BR><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">PharmaCentra, 
LLC</SPAN><BR></STRONG><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">5901B 
Peachtree Dunwoody Road, Suite 380</SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Atlanta, GA 30328</SPAN><BR><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Office:&nbsp;&nbsp;770.395.0088 
x2034</SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Mobile:&nbsp;&nbsp;770.855.1360</SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;770.395.0989</SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Email:&nbsp;&nbsp;&nbsp;&nbsp;<A 
href="mailto:arobins@pharmacentra.com">arobins@pharmacentra.com</A></SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A 
href="http://www.pharmacentra.com/">http://www.pharmacentra.com</A></SPAN><BR><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">_____________________________________________________________</SPAN> 
</SPAN>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>