[asterisk-speech-rec] deadagi and SpeechDestroy
John O'Gara
john.ogara at mysay.com
Fri Jun 29 04:51:06 CDT 2007
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()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-speech-rec/attachments/20070629/c71c4fb1/attachment.htm
More information about the asterisk-speech-rec
mailing list