List Info

Thread: LiveWeather issue with Lumenvox issue




LiveWeather issue with Lumenvox issue
user name
2008-03-20 17:01:16
So I have downloaded LiveWeather from Lumenvox website.  I installed it as instructed but I am noticing some issues.
 
First off, I know Lumenvox speech engine is working because currently its working with the Pizza demo.
 
When I go into Asterisk -vrrr I can see the following when I execute the program
 
  ;  -- Executing [123from-internal:1] Answer("SIP/2000-08ac1c00", "") in new stack
    -- Executing [123from-internal:2] AGI("SIP/2000-08ac1c00";, "agi://localhost:4574/weather.agi";) in new stack
    -- AGI Script Executing Application: (SpeechCreate) Options: ()
    -- AGI Script Executing Application: (SpeechActivateGrammar) Options: (uscities)
    -- AGI Script Executing Application: (SpeechStart) Options: ()
 ;   -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_greeting)
    -- AGI Script Executing Application: (SpeechStart) Options: ()
    -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_didntgetthat)
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.
 

    -- Executing [spizza:3] SpeechCreate("SIP/2000-08ac1c00", "") in new stack
    -- Executing [spizza:4] Goto(";SIP/2000-08ac1c00", "order-pizza|s|1") in new stack
    -- Goto (order-pizza,s,1)
    -- Executing [sorder-pizza:1] Playback("SIP/2000-08ac1c00", "GP-Greeting") in new stack
&nbsp; &nbsp; -- <SIP/2000-08ac1c00> Playing 'GP-Greeting' (language 'en9;)
 ; &nbsp; -- Executing [sorder-pizza:2] Set("SIP/2000-08ac1c00";, "THRESHOLD=500&quot;) in new stack
&nbsp; &nbsp; -- Executing [sorder-pizza:3] Goto(";SIP/2000-08ac1c00&quot;, "pizza-delivery|s|1") in new stack
&nbsp; &nbsp; -- Goto (pizza-delivery,s,1)
  ;  -- Executing [spizza-delivery:1] SpeechActivateGrammar("SIP/2000-08ac1c00",&quot;order&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza-delivery:2] SpeechStart("SIP/2000-08ac1c00", "&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza-delivery:3] SpeechBackground(&quot;SIP/2000-08ac1c00&quot;, "GP-DeliveryorTakeout") in new stack
Anyways, any help would be greatly appreciated. Thank you
Re: LiveWeather issue with Lumenvox issue
user name
2008-03-20 18:29:58
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

Basically..... If you read the setup instructions you will find the following

2. Install the LumenVox Grammar. To install the grammar, you must edit your lumenvox.conf file in your /etc/asterisk directory and add the following&nbsp; two entries:

uscities=/etc/asterisk/lumenvox/grammar/uscities.gram

yesno=/etc/asterisk/lumenvox/grammar/yesno.gram

You will  then need to copy the grammar files appearing in your grammar/directory to the&nbsp; /etc/asterisk/grammar subdirectory.

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


Therefore...

uscities=/etc/asterisk/grammar/uscities.gram

yesno=/etc/asterisk/grammar/yesno.gram


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 :(

On Thu, Mar 20, 2008 at 6:01 PM, David Merel < david.merelgmail.com">david.merelgmail.com> wrote:
So I have downloaded LiveWeather from Lumenvox website.&nbsp; I installed it as instructed but I am noticing some issues.
 
First off, I know Lumenvox speech engine is working because currently its working with the Pizza demo.
&nbsp;
When I go into Asterisk -vrrr I can see the following when I execute the program
 
  ;  -- Executing [123from-internal:1] Answer(&quot;SIP/2000-08ac1c00&quot;, "&quot;) in new stack
&nbsp; &nbsp; -- Executing [123from-internal:2] AGI("SIP/2000-08ac1c00";, "agi://localhost:4574/weather.agi";) in new stack
  ;  -- AGI Script Executing Application: (SpeechCreate) Options: ()
 &nbsp;  -- AGI Script Executing Application: (SpeechActivateGrammar) Options: (uscities)
 &nbsp;  -- AGI Script Executing Application: (SpeechStart) Options: ()
&nbsp; &nbsp; -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_greeting)
 &nbsp;  -- AGI Script Executing Application: (SpeechStart) Options: ()
 &nbsp;  -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_didntgetthat)
The interesting thing is that I can see that SpeechCreate, SpeechActivateGrammar, and SpeechStart all have "Options: ()" after it.  Has anyone come accross this issue?&nbsp; I think I am supposed to be seeing the SIP Channel in these brackets.&nbsp; 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.&nbsp; 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.
 

 &nbsp;  -- Executing [spizza:3] SpeechCreate("SIP/2000-08ac1c00", "&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza:4] Goto(";SIP/2000-08ac1c00&quot;, "order-pizza|s|1") in new stack
  ;  -- Goto (order-pizza,s,1)
&nbsp; &nbsp; -- Executing [sorder-pizza:1] Playback(&quot;SIP/2000-08ac1c00", "GP-Greeting&quot;) in new stack
&nbsp; &nbsp; -- <SIP/2000-08ac1c00> Playing 'GP-Greeting' (language 'en9;)
&nbsp; &nbsp; -- Executing [sorder-pizza:2] Set("SIP/2000-08ac1c00";, "THRESHOLD=500&quot;) in new stack
&nbsp; &nbsp; -- Executing [sorder-pizza:3] Goto(";SIP/2000-08ac1c00&quot;, "pizza-delivery|s|1") in new stack
  ;  -- Goto (pizza-delivery,s,1)
  ;  -- Executing [spizza-delivery:1] SpeechActivateGrammar("SIP/2000-08ac1c00",&quot;order&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza-delivery:2] SpeechStart("SIP/2000-08ac1c00", "&quot;) in new stack
  ;  -- Executing [spizza-delivery:3] SpeechBackground(&quot;SIP/2000-08ac1c00&quot;, "GP-DeliveryorTakeout") in new stack
Anyways, any help would be greatly appreciated. Thank you

Re: LiveWeather issue with Lumenvox issue
user name
2008-03-21 09:23:47
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
 

So here are the remaining issues.&nbsp; The following unlike the last post are not errors but things to watch out for

So lets look at yesno=/etc/asterisk/grammar/yesno.gram
&nbsp;
Some additional things to note
&nbsp;
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.
2. grammar, at least for trixbox users is actually grammars with a "S&quot;, so be sure that your folder path matches exactly with the folder';s spelling
 
In my case I needed to make further corrections where the end result was
uscities=/etc/asterisk/grammars/uscities.gram
yesno=/etc/asterisk/grammars/yesno.gram <- and inserting this in addition to the already existing yes_no=/etc/asterisk/grammars/yesno.gram
 
after that all works.&nbsp; I hope everyone finds this useful
 

 
On Thu, Mar 20, 2008 at 7:29 PM, David Merel < david.merelgmail.com">david.merelgmail.com> wrote:
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

Basically..... If you read the setup instructions you will find the following

2. Install the LumenVox Grammar. To install the grammar, you must edit your lumenvox.conf file in your /etc/asterisk directory and add the following&nbsp; two entries:

uscities=/etc/asterisk/lumenvox/grammar/uscities.gram

yesno=/etc/asterisk/lumenvox/grammar/yesno.gram

You will  then need to copy the grammar files appearing in your grammar/directory to the  /etc/asterisk/grammar subdirectory.

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


Therefore...

uscities=/etc/asterisk/grammar/uscities.gram

yesno=/etc/asterisk/grammar/yesno.gram


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 :(


On Thu, Mar 20, 2008 at 6:01 PM, David Merel < david.merelgmail.com" target="_blank">david.merelgmail.com> wrote:
So I have downloaded LiveWeather from Lumenvox website.&nbsp; I installed it as instructed but I am noticing some issues.
 
First off, I know Lumenvox speech engine is working because currently its working with the Pizza demo.
&nbsp;
When I go into Asterisk -vrrr I can see the following when I execute the program
 
  ;  -- Executing [123from-internal:1] Answer(&quot;SIP/2000-08ac1c00&quot;, "&quot;) in new stack
&nbsp; &nbsp; -- Executing [123from-internal:2] AGI("SIP/2000-08ac1c00";, "agi://localhost:4574/weather.agi";) in new stack
&nbsp; &nbsp; -- AGI Script Executing Application: (SpeechCreate) Options: ()
 &nbsp;  -- AGI Script Executing Application: (SpeechActivateGrammar) Options: (uscities)
 &nbsp;  -- AGI Script Executing Application: (SpeechStart) Options: ()
 ; &nbsp; -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_greeting)
 &nbsp;  -- AGI Script Executing Application: (SpeechStart) Options: ()
 &nbsp;  -- AGI Script Executing Application: (SpeechBackground) Options: (liveweather/voice_adrian_didntgetthat)
The interesting thing is that I can see that SpeechCreate, SpeechActivateGrammar, and SpeechStart all have "Options: ()" after it.  Has anyone come accross this issue?&nbsp; I think I am supposed to be seeing the SIP Channel in these brackets.&nbsp; 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.&nbsp; 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.
 

 &nbsp;  -- Executing [spizza:3] SpeechCreate("SIP/2000-08ac1c00", "&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza:4] Goto(";SIP/2000-08ac1c00&quot;, "order-pizza|s|1") in new stack
&nbsp; &nbsp; -- Goto (order-pizza,s,1)
&nbsp; &nbsp; -- Executing [sorder-pizza:1] Playback(&quot;SIP/2000-08ac1c00", "GP-Greeting&quot;) in new stack
&nbsp; &nbsp; -- <SIP/2000-08ac1c00> Playing 'GP-Greeting' (language 'en9;)
 ; &nbsp; -- Executing [sorder-pizza:2] Set("SIP/2000-08ac1c00";, "THRESHOLD=500&quot;) in new stack
&nbsp; &nbsp; -- Executing [sorder-pizza:3] Goto(";SIP/2000-08ac1c00&quot;, "pizza-delivery|s|1") in new stack
&nbsp; &nbsp; -- Goto (pizza-delivery,s,1)
  ;  -- Executing [spizza-delivery:1] SpeechActivateGrammar("SIP/2000-08ac1c00",&quot;order&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza-delivery:2] SpeechStart("SIP/2000-08ac1c00", "&quot;) in new stack
&nbsp; &nbsp; -- Executing [spizza-delivery:3] SpeechBackground(&quot;SIP/2000-08ac1c00&quot;, "GP-DeliveryorTakeout") in new stack
Anyways, any help would be greatly appreciated. Thank you


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )