<div dir="ltr">I know that hangup handlers (<a href="https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers">https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers</a>) have to finish quickly.<div><br></div><div>So it's no surprise that my speech to text agi which takes 8 seconds gets killed.</div><div><br></div><div>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.</div><div><br></div><div>In-call, it works fine. After hangup, it doesn't. Which is correct, but any thoughts on ways round this?</div><div><br>Thanks.</div></div>