Hello. If a call is answered and then terminated, the dialplan goes to the “h” extension. But if the caller hangs up before the call is answered (while waiting for the recipient to pick up) then the dialplan exits immediately. I want to be able to execute one last command, even if the call is not answered but I cannot find any way to do this, even after scouring the wiki. Surely there must be a way?
Nevermind, I figured it out! It doesn’t go to “h” if I use a macro but it does if I use gosub.