Can you not just use `&PJSIP_REGISTER_METHOD` below?