[asterisk-users] Handling a long-running agi on hangup-handler?

Jonathan H lardconcepts at gmail.com
Thu Jan 18 11:27:44 CST 2018


I know that hangup handlers (
https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers) have to finish
quickly.

So it's no surprise that my speech to text agi which takes 8 seconds gets
killed.

However, can anyone think of a way round this? So, once the caller has hung
up, I need to take one of the channel variables, and pass it to a python
agi script which then does speech to text.

In-call, it works fine. After hangup, it doesn't. Which is correct, but any
thoughts on ways round this?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180118/3f6fca63/attachment.html>


More information about the asterisk-users mailing list