Looks good to me. It similar code is used in usrloc udomain.c, the same refactoring could be of course also done there.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3845#issuecomment-2104180664
You are receiving this because you are subscribed to this thread.
Message ID:
kamailio/kamailio/pull/3845/c2104180664@github.com