<p></p>
<p>Moving code to the core from existing module must ensure it can be relocated under BSD license.</p>
<p>Regarding the cloning of some str values, they seem to be required due to used functions that require zero-terminated strings, like ipstr that is passed to lost_get_nameinfo(), which is using libc inet_pton().</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2675#issuecomment-810881134">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNTVDSKTOCW6YFYRSLTGLMKNANCNFSM4ZGSJGLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPSRKVPRECZFQXFUNTTGLMKNA5CNFSM4ZGSJGL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBKRA3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2675#issuecomment-810881134",
"url": "https://github.com/kamailio/kamailio/pull/2675#issuecomment-810881134",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>