<p></p>
<p>It looks like the issue is how the dynamic library (the module) loading resolves the symbols. When replying to the sr-users message, I though the drouting is using now the tmrec from the core (core/utils/tmrec.c), but actually it has its own clone inside module (dr_time.c). However, both files contain functions with same name, so in this case looks like symbols are resolved to core functions instead of those in dr_time.c.</p>
<p>core/utils/tmrec.c use to be in an internal library loaded by tmrec module, but we merged that lib to core. I did a diff and it seems to be some differences, therefore switching to use core code might take time and testing. The solution to go, at least in a first phase, is to rename the functions in dr_time.c to be specific for module.</p>
<p>By grepping the code, cplc module seems exposed to same issue, it has tmrec code inside cpl_time.c</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/issues/2827#issuecomment-901178663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMDWYN3JD7J2OOSZZTT5PB3PANCNFSM5CJUQY5Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABO7UZMV3EYSFQ3SJOW3TWTT5PB3PA5CNFSM5CJUQY52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGW3OKJY.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/issues/2827#issuecomment-901178663",
"url": "https://github.com/kamailio/kamailio/issues/2827#issuecomment-901178663",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>