• 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] deadagi and SpeechDestroy

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
john.ogara at mysay.com
Guest





PostPosted: Thu Jun 28, 2007 4:13 pm    Post subject: [asterisk-speech-rec] deadagi and SpeechDestroy

Hi,
 I'm using deadagi to pass over control of my dialplan to an agi script,
my problem is that is if the caller hangs up midway my agi script it loses its
connection to asterisk and can't call speech destroy thus leaving the licence
open on my Licence server....
Suggestions?
Back to top
brn6577 at saintjoe.edu
Guest





PostPosted: Thu Jun 28, 2007 4:17 pm    Post subject: [asterisk-speech-rec] deadagi and SpeechDestroy

Are you detecting speech in your agi??? if not then just call
SpeechDestroy before passing control to the AGI and if you need to come
back to asterisk and do speech rec just run another SpeechCreate. If you
are using it in your AGI I would think you could write in the logic in the
AGI to do a SpeechDestroy before it ends and then if you need it again
recall it.

Brent

Quote:
Hi,
I'm using deadagi to pass over control of my dialplan to an agi script,
my problem is that is if the caller hangs up midway my agi script it loses
its
connection to asterisk and can't call speech destroy thus leaving the
licence
open on my Licence server....
Suggestions?
_______________________________________________
--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



_______________________________________________
--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
john.ogara at mysay.com
Guest





PostPosted: Fri Jun 29, 2007 9:56 am    Post subject: [asterisk-speech-rec] deadagi and SpeechDestroy

I'm doing the recognition in my agi script, its in ruby and the logic is such that it attempts to ensure SpeechDestroy is executed on exit but.... if the user hangs up before the agi script is finished it loses its connection with asterisk and then throws an error when attempting the SpeechDestroy.
I've tried adding the SpeechDestroy into the asterisk dialplan after the agi call but it doesn't work. Dialplan is

exten => _35314877679, 1, Answer()
exten => _35314877679, 2, agi(agi://HOSTNAME:${RAGI_PORT}/dialin/lumenvox_test)
exten => _35314877679, 3, SpeechDestroy()
exten => _35314877679, 4, hangup()
Back to top
tlesher at vcch.com
Guest





PostPosted: Thu Jul 05, 2007 6:35 am    Post subject: [asterisk-speech-rec] deadagi and SpeechDestroy

On Thursday 28 June 2007 11:06, John O'Gara wrote:
Quote:
I'm using deadagi to pass over control of my dialplan to an agi
script, my problem is that is if the caller hangs up midway my agi
script it loses its
connection to asterisk and can't call speech destroy thus leaving
the licence
open on my Licence server....
Suggestions?

1) Do not use DeadAGI for live calls. Ever.
2) Use the h extension to close out the speech engine.

--
Tilghman

_______________________________________________
--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: Sun Jul 08, 2007 7:35 pm    Post subject: [asterisk-speech-rec] deadagi and SpeechDestroy

The port automatically gets released when the channel goes away.

John O'Gara wrote:
Quote:
Hi,
I'm using deadagi to pass over control of my dialplan to an agi script,
my problem is that is if the caller hangs up midway my agi script it
loses its
connection to asterisk and can't call speech destroy thus leaving the
licence
open on my Licence server....
Suggestions?


------------------------------------------------------------------------

_______________________________________________
--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

--
Joshua Colp
Software Developer
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

_______________________________________________
--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™