Hello,
Upon Answer I have:
same => n,Set(CHANNEL(hangup_handler_push)=disconnect,s,1(args))
Then upon Hangup I have:
[disconnect]
exten => s,1,NoOp()
same => n,MacroExclusive(reset-common,${port})
same => n,Return()
The 'reset-common' macro never gets called. I tried using just Macro as well. Anything else I put within that extension gets called fine. Is this just not allowed? Any alternatives? Im trying to stay away from having the same blocks of code everywhere.
P.S. I am using MacroExclusive because I understand that it prevents channels from tripping over themselves. Please correct me if I'm wrong.
Many Thanks!