Posted: 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?
Posted: 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--
Posted: 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
Posted: 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--
Posted: 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?
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