Presumably this is a macro for consistency with other PJSIP code?  If not, it's a bit unpleasant.