<div dir="ltr">Some providers change the Contact header when replying the register.<div><br></div><div>The provider says 200 OK for register but I got this:<div>ERROR: uac [uac_reg.c:876]: uac_reg_tm_callback(): got sip response 200 while registering<br></div><div><br></div><div>I think the problem is at <a href="https://github.com/kamailio/kamailio/blob/master/modules/uac/uac_reg.c#L744">https://github.com/kamailio/kamailio/blob/master/modules/uac/uac_reg.c#L744</a></div><div><br></div><div>In my case, the provider change the username part of Contact</div><div>in register request: Contact: <sip:DID_NUMBER@IP_ADDRESS:5060></div><div>in reply: Contact: <sip:SiENC*DID_NUMBER**IP_ADDRESS*5060*@IP_ADDRESS></div><div><br></div><div>So if username is different, I will never get ri->flags |= UAC_REG_ONLINE;</div></div><div><br></div><div><br></div></div>