xadhoom left a comment (kamailio/kamailio#4253)
Also, the functions are split to be ready to be added to kemi, only later I found out that pua_reginfo is not kemi aware yet. I can simplify the two functions in one, leave as is or add all kemi stuff, too