henningw 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
Not sure if I fully understood your question. If you also want to add KEMI support for pua_reginfo module, its better to do it as a dedicated PR and commit, as this makes reviewing and merging easier. The KEMI could be also backported, which is not possible for new functionality.