The problem seems to be that ci_pack when calling only with msg was not setting the intance and reg_id into the contact_info, so ul.get_ucontact_by_instance at https://github.com/kamailio/kamailio/blob/master/modules/registrar/save.c#L5... was at https://github.com/kamailio/kamailio/blob/master/modules/usrloc/urecord.c#L7... using get_ucontact
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/278#issuecomment-128648029