[macro-hangupcall-custom] never gets called?

Most of the *-custom contexts are unusable. You want a hangup handler, which is explained in this post: