[sr-dev] [kamailio/kamailio] kamcmd drouting.reload bug (#2827)

Daniel-Constantin Mierla notifications at github.com
Wed Aug 18 16:48:23 CEST 2021


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.

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.

By grepping the code, cplc module seems exposed to same issue, it has tmrec code inside cpl_time.c

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2827#issuecomment-901178663
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210818/19056640/attachment.htm>


More information about the sr-dev mailing list