Thanks for PR!
I would suggest to use str2int() (or suitable variant from core/ut.h) function to convert
input string parameter to integer value, because the pkg str dup (and free) can be avoided
in that case.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2997#issuecomment-1007339986
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/2997/c1007339986(a)github.com>