How can I get a call to finish a context even if the call is hung up by the caller

I have a context that does some custom SQL writes based on what the caller chooses during a read with audio. If the caller calls in and hangs up before entering any digits during the audio that plays during the read, the call ends and the context doesn’t complete.

Is it possible to force it through original context and any additional contexts before asterisk stops processing the call?

You can try the i or h targets which allow implementing error and hangup handling. I assume that would solve your problem. Unless I completely misunderstand the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.