<div>LOL, I guess I will be solving this issue myself :) So I found the last remaining issue, after this I got LiveWeather to work, I still dont know why the output shows that strange "Options: ()" being empty, but it works</div>
<div> </div>
<div><br>So here are the remaining issues. The following unlike the last post are not errors but things to watch out for</div>
<div><br>So lets look at yesno=/etc/asterisk/grammar/yesno.gram</div>
<div> </div>
<div>Some additional things to note</div>
<div> </div>
<div>1. yesno is not yes_no which many people see by default in there lumenvox.conf or something that has already come using other demos or apps like pizza demo, this above line needs to STILL be added.</div>
<div>2. grammar, at least for trixbox users is actually grammars with a "S", so be sure that your folder path matches exactly with the folder's spelling</div>
<div> </div>
<div>In my case I needed to make further corrections where the end result was </div>
<div>uscities=/etc/asterisk/grammars/uscities.gram<br>yesno=/etc/asterisk/grammars/yesno.gram <- and inserting this in addition to the already existing yes_no=/etc/asterisk/grammars/yesno.gram</div>
<div> </div>
<div>after that all works. I hope everyone finds this useful</div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Thu, Mar 20, 2008 at 7:29 PM, David Merel <<a href="mailto:david.merel@gmail.com">david.merel@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">So I found some off the problems, I still dont know why those "Options: ()" pop up, however I was able to find a FLAW in the instructions that perhaps Lumenvox or whoever should correct so we dont all run into the same mistake when we follow instructions line by line<br>
<br>Basically..... If you read the setup instructions you will find the following<br>
<p><b>2. Install the LumenVox Grammar. </b>To install the grammar, you must edit your <span style="FONT-FAMILY: Courier">lumenvox.conf</span> file in your <span style="FONT-FAMILY: Courier">/etc/asterisk</span> directory and add the following two entries:</p>
<p><span style="FONT-FAMILY: Courier">uscities=/etc/asterisk/lumenvox/grammar/uscities.gram</span></p>
<p><span style="FONT-FAMILY: Courier">yesno=/etc/asterisk/lumenvox/grammar/yesno.gram</span></p>
<p>You will then need to copy the grammar files appearing in your<span style="FONT-FAMILY: Courier"> grammar/</span>directory to the <span style="FONT-FAMILY: Courier">/etc/asterisk/grammar </span>subdirectory.</p>
<p>However if you copy everything to /etc/asterisk/grammar directory then how can you put into lumenvox.conf file the directory of /etc/asterisk/lumenvox/grammar/ - this does not exist, /etc/asterisk/grammar is what should be edited in the two entries above</p>
<br>
<p>Therefore...<br></p>
<p><span style="FONT-FAMILY: Courier">uscities=/etc/asterisk/grammar/uscities.gram</span></p>
<p><span style="FONT-FAMILY: Courier">yesno=/etc/asterisk/grammar/yesno.gram</span></p>
<p><br></p>But a NEW problem now appears, now it understands what I say, speaking city or digits of my ZIP but keeps asking me to confirm YES or NO and for some reason this does not seem to recognize my response, so close :(
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Thu, Mar 20, 2008 at 6:01 PM, David Merel <<a href="mailto:david.merel@gmail.com" target="_blank">david.merel@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>So I have downloaded LiveWeather from Lumenvox website. I installed it as instructed but I am noticing some issues.</div>
<div> </div>
<div>First off, I know Lumenvox speech engine is working because currently its working with the Pizza demo.</div>
<div> </div>
<div>When I go into Asterisk -vrrr I can see the following when I execute the program</div>
<div> </div>
<div> -- Executing [123@from-internal:1] Answer("SIP/2000-08ac1c00", "") in new stack<br> -- Executing [123@from-internal:2] AGI("SIP/2000-08ac1c00", "agi://localhost:4574/weather.agi") in new stack<br>
-- AGI Script Executing Application: (SpeechCreate) Options: ()<br> -- AGI Script Executing Application: (SpeechActivateGrammar) Options: (uscities)<br> -- AGI Script Executing Application: (SpeechStart) Options: ()<br>
-- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_greeting)<br> -- AGI Script Executing Application: (SpeechStart) Options: ()<br> -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_didntgetthat)<br>
</div>
<div>The interesting thing is that I can see that SpeechCreate, SpeechActivateGrammar, and SpeechStart all have "Options: ()" after it. Has anyone come accross this issue? I think I am supposed to be seeing the SIP Channel in these brackets. For example the following code is what I would see in the Pizza Demo, you will notice that each of these functions seem to have SIP/XXXX as the options. Is it possible that Lumenvox has an older non working version of Adrian's LiveWeather application where somewhere in the code something isnt executing or passing variables correctly? I clearly see a difference between the two apps, if anyone has a working copy perhaps we can compare certain parts of the code.</div>
<div> </div>
<div><br> -- Executing [s@pizza:3] SpeechCreate("SIP/2000-08ac1c00", "") in new stack<br> -- Executing [s@pizza:4] Goto("SIP/2000-08ac1c00", "order-pizza|s|1") in new stack<br>
-- Goto (order-pizza,s,1)<br> -- Executing [s@order-pizza:1] Playback("SIP/2000-08ac1c00", "GP-Greeting") in new stack<br> -- <SIP/2000-08ac1c00> Playing 'GP-Greeting' (language 'en')<br>
-- Executing [s@order-pizza:2] Set("SIP/2000-08ac1c00", "THRESHOLD=500") in new stack<br> -- Executing [s@order-pizza:3] Goto("SIP/2000-08ac1c00", "pizza-delivery|s|1") in new stack<br>
-- Goto (pizza-delivery,s,1)<br> -- Executing [s@pizza-delivery:1] SpeechActivateGrammar("SIP/2000-08ac1c00","order") in new stack<br> -- Executing [s@pizza-delivery:2] SpeechStart("SIP/2000-08ac1c00", "") in new stack<br>
-- Executing [s@pizza-delivery:3] SpeechBackground("SIP/2000-08ac1c00", "GP-DeliveryorTakeout") in new stack<br></div>
<div>Anyways, any help would be greatly appreciated. Thank you</div></blockquote></div><br></div></div></blockquote></div><br>