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?