• 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] Spawn extension (dial-by-name, s, 2) e

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
tbenson at a-1networks.co
Guest





PostPosted: Mon Oct 22, 2007 6:14 pm    Post subject: [asterisk-speech-rec] Spawn extension (dial-by-name, s, 2) e

What is the file permissions required for a grammar file? Is /etc/asterisk/grammars a default directory, or would it be specified somewhere

I am using the default examples from http://www.voip-info.org/wiki/index.php?page=Asterisk%20Generic%20Speech%20API and I keep getting an non-zero exit from SpeechLoadGrammar. I have tried specifying SpeechLoadGrammar(company-directory) and SpeechLoadGrammar(/etc/asterisk/grammars/company-directory.gram). In either case it seems to fail and produce the non-zero status.

Thanks in advance for any assistance.

Also if there is a better walkthrough I should be referencing please let me know as I would love to get this working.

Thanks,
Trevor

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
tbenson at a-1networks.co
Guest





PostPosted: Mon Oct 22, 2007 6:14 pm    Post subject: [asterisk-speech-rec] Spawn extension (dial-by-name, s, 2) e

Quote:
-----Original Message-----
From: Trevor Benson
Sent: Monday, October 22, 2007 11:09 AM
To: asterisk-speech-rec@lists.digium.com
Subject: Spawn extension (dial-by-name, s, 2) exited non-zero
I am using the default examples from http://www.voip-
info.org/wiki/index.php?page=Asterisk%20Generic%20Speech%20API and I
keep getting an non-zero exit from SpeechLoadGrammar. I have tried
specifying SpeechLoadGrammar(company-directory) and
SpeechLoadGrammar(/etc/asterisk/grammars/company-directory.gram). In
either case it seems to fail and produce the non-zero status.

Sorry should have read SpeechActivateGrammar, not SpeechLoadGrammar.

Thanks,
Trevor

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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





PostPosted: Mon Oct 22, 2007 8:35 pm    Post subject: [asterisk-speech-rec] Spawn extension (dial-by-name, s, 2) e

Quote:
What is the file permissions required for a grammar file? Is
/etc/asterisk/grammars a default directory, or would it be specified
somewhere

There is no default directory actually so I would recommend specifying the full path. Let me add that to my list.

Quote:
I am using the default examples from
http://www.voip-info.org/wiki/index.php?page=Asterisk%20Generic%20Speech%20API
and I keep getting an non-zero exit from SpeechLoadGrammar. I have tried
specifying SpeechLoadGrammar(company-directory) and
SpeechLoadGrammar(/etc/asterisk/grammars/company-directory.gram). In either
case it seems to fail and produce the non-zero status.

The complete console output along with lumenvox.conf would be useful. The only times I can think of where this issue would creep up is if SpeechCreate wasn't called, or was called and no license was available or if the grammar that was to be activated (per your other correction email) was not found.

Joshua Colp
Software Developer
Digium, Inc.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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





PostPosted: Mon Oct 22, 2007 9:19 pm    Post subject: [asterisk-speech-rec] Spawn extension (dial-by-name, s, 2) e

On 10/22/07, Trevor Benson <tbenson@a-1networks.com> wrote:
Quote:
> I am using the default examples from http://www.voip-
> info.org/wiki/index.php?page=Asterisk%20Generic%20Speech%20API and I
> keep getting an non-zero exit from SpeechLoadGrammar. I have tried
> specifying SpeechLoadGrammar(company-directory) and
> SpeechLoadGrammar(/etc/asterisk/grammars/company-directory.gram). In
> either case it seems to fail and produce the non-zero status.

Sorry should have read SpeechActivateGrammar, not SpeechLoadGrammar.

Usually if the dialplan just ends at that point, it's a sign that your
grammar isn't being loaded. Try turning up the verbosity and
reloading the res_speech_lumenvox.so module. It'll try to warn you if
there's a syntax error or other problem with your grammar.

-Jared

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.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™