A lot has changed in FreePBX and Asterisk in 10? 12? years. I think to do what you want, you will need to add a hangup handler earlier in the call flow and then check to see if it went to vm. See this post: Hooking for fun and income, the section titled " How do I perform a custom action on hangup?"
1 Like