res_pjsip_session: Add configurable behavior for redirects.