• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-speech-rec] Problems loading grammer 'order' on Pi

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
missivestoadrian-vxml at
Guest





PostPosted: Fri Apr 20, 2007 11:44 pm    Post subject: [asterisk-speech-rec] Problems loading grammer 'order' on Pi

Hi:

I'm running asterisk 1.4 with Lumenvox 7.5 (on Fedora
6). I'm also getting the error:

res_speech_lumenvox.c:441 lumenvox_activate: Grammer
'order' could not be found and thsu could not be
activated.

when running Pizza demo example. I have confirmed that
my grammers are in /etc/asterisk/grammars (including
order.gram).

Also, Andrew Willerding's posting from April 17th does
not work for me:
----------------------------
I had a few problems getting the Pizza demo to work -
specifically gettingthe grammars to load. It turns
out that when I changed the grammars files to include
the UTF-8 parameter on the first line of the file and
placed an extra CR/LF between each line in the files
so that it matched the ABNFDigits.gram example that is
installed with the LVSRE 7.5 files the grammars were
able to load.
-------------------------

Does anybody else happen to have other solutions to
this problem? The lumenvox.conf file has the path
directory=/etc/asterisk/grammars/directory.gram in the
gammars section. Should this be changed to something
else?

Thanks,

Adrian


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
StephenKeller at LumenVox
Guest





PostPosted: Fri Apr 20, 2007 11:57 pm    Post subject: [asterisk-speech-rec] Problems loading grammer 'order' on Pi

Quote:
I'm running asterisk 1.4 with Lumenvox 7.5 (on Fedora 6). I'm
also getting the error:

res_speech_lumenvox.c:441 lumenvox_activate: Grammer 'order'
could not be found and thsu could not be activated.

when running Pizza demo example. I have confirmed that my
grammers are in /etc/asterisk/grammars (including order.gram).

Quote:
Does anybody else happen to have other solutions to this
problem? The lumenvox.conf file has the path
directory=/etc/asterisk/grammars/directory.gram in the
gammars section. Should this be changed to something else?

It depends on how you are calling it from the dialplan. The default
dialplan included with the pizza demo assumes you're specifying the full
path to the grammar in lumenvox.conf (if you use the lumenvox.conf
included in the pizza demo archive it should have the paths by default).

You would need to add:

order=/etc/asterisk/grammars/order.gram

To your lumenvox.conf file to work with the default dialplan included
with the pizza demo. The other option would be to modify the dial plan
to include the full path when you load it, e.g.

SpeechLoadGrammar(order|/etc/asterisk/grammars/order.gram)

The grammars section in lumenvox.conf is basically just a shortcut to
let you load grammars in advance and give them the labels that you can
call from the dialplan.

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
support@LumenVox.com
www.LumenVox.com


Winner "Best Innovation in Speech Recognition"
AVIOS SpeechTEK Award

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
missivestoadrian-vxml at
Guest





PostPosted: Sat Apr 21, 2007 6:04 pm    Post subject: [asterisk-speech-rec] Problems loading grammer 'order' on Pi

Hi Stephen:

Thanks for pointing that out; I was pretty sure I
copied all the pizza-demo files into their appropriate
location in /etc/asterisk, but I must have missed that
one. Now, the error goes away and asterisk reports all
the grammars being properly loaded at startup.
However, now I have a second problem. When the system
asks for “delivery or take-out” it does not seem to
recognize my speech (i.e. after a certain delay, the
system simply repeats the “delivery or take-out”
options over again and asks me to choose). I spent a
lot of time trying to figure this out, but I'm suck
again. I hope I'm not doing anything too dumb, but I'm
not sure how to debug it further. This is what I've
done:

1.I'm running asterisk 1.4 on Fedora 6 and dialing in
from a remote machine using a SIP phone.

2.I have checked that the SIP phone audio channel is
working properly. Just to be sure, I created a
separate asterisk test dialplan to echo back my voice.
I'm using the ulaw codec. The voice quality is
reasonable.

3.I have confirmed that the license_server and
LVSE_SERVER are up and running. The LV* environment
variables all seem to be set to their proper values.

4. There is activity generated in the SRE_Log.txt file
when I run the demo, so it appears that something is
happening. There are no errors reported during
asterisk startup, nor /var/log/asterisk, nor
/opt/lumenvox/engine_7.5/bin/Logs.

5.I temporarily set save_sound_files to 'yes' in
lumenvox.conf and did confirm that .callsre files are
being saved in the /opt/lumenvox/engine_7.5/Lang
directory. So basically, I'm pretty sure that asterisk
is talking to the speech engine.

Anyway, I'm stuck and I'm not sure what the next
debugging step should be. Any additional help or
suggestions on this would be appreciated.

Warm regards,
Adrian


--- Stephen Keller <StephenKeller@LumenVox.com> wrote:

Quote:
> I'm running asterisk 1.4 with Lumenvox 7.5 (on
Fedora 6). I'm
> also getting the error:
>
> res_speech_lumenvox.c:441 lumenvox_activate:
Grammer 'order'
> could not be found and thsu could not be
activated.
>
> when running Pizza demo example. I have confirmed
that my
> grammers are in /etc/asterisk/grammars (including
order.gram).

> Does anybody else happen to have other solutions
to this
> problem? The lumenvox.conf file has the path
> directory=/etc/asterisk/grammars/directory.gram in
the
> gammars section. Should this be changed to
something else?

It depends on how you are calling it from the
dialplan. The default
dialplan included with the pizza demo assumes you're
specifying the full
path to the grammar in lumenvox.conf (if you use the
lumenvox.conf
included in the pizza demo archive it should have
the paths by default).

You would need to add:

order=/etc/asterisk/grammars/order.gram

To your lumenvox.conf file to work with the default
dialplan included
with the pizza demo. The other option would be to
modify the dial plan
to include the full path when you load it, e.g.


SpeechLoadGrammar(order|/etc/asterisk/grammars/order.gram)

Quote:

The grammars section in lumenvox.conf is basically
just a shortcut to
let you load grammars in advance and give them the
labels that you can
call from the dialplan.

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
support@LumenVox.com
www.LumenVox.com


Winner "Best Innovation in Speech Recognition"
AVIOS SpeechTEK Award

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com
--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:


http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

Quote:


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™