Merge "res_pjsip_exten_state: Fix race condition between sending NOTIFY and termination"