asterisk/AMI_Functions: improvements to implement PJSIPRegisterChange-Id: Ibc4ff6eaad84f67d33c1211dc5e39294ce1c8fac