AEL & macros

I’m trying to use new AEL with macros.

The problem is when user hangups the macro is finished at the point it was and is not returned to the point where it’s been called. Is there any way to perform some action upon final hangup?

I’ve tried to use priority “h” in both main and secondary contexts. It work if I don’t use macros.