AGI Script at hangup

I’m running FreePBX 12 and Asterisk 11. I’m trying to call an AGI script at the end of each call. I’ve tried to override [macro-hangupcall] in extensions_override_freepbx.conf by copying all the original [macro-hangupcall] contents, but it’s not getting called. I’ve added a NoOp just to check, again nothing.

Is there a better way to call the script?

Any ideas would be greatly appreciated!

I would revert your changes to the hangup macro, and use a hangup handler instead. You may need Asterisk 13.

Thank you! I’ll give that a try today.

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