The `--log-engine` cli parameter exists in the core, this adds just a new attribute for
it, `U` (which I can't relate to CEE schema, but it's fine for me, it has to be
documented in the core cookbook in the wiki), so overall that is ok.
The pthread use probably needs some adjustments. If kamailio is compiled on a system with
libssl 1.1+ (and pkg-config available), then the core is linked against libpthread in
order to overwrite the mutex functions. But on old distros, with libssl 1.0, or distros
without libssl installed, the core is not linked against libpthread and I expect to result
in missing symbols. libssl1.1 is in most of latest stable Linux distros, but some may
still use older ones (debian 9 or centos 7 probably have libssl 1.0 - I have no such
system at hand to check right now).
Solutions I see now:
* link core always against libpthread
* make a module dependent of libpthread that sets a callback in the core to return the
thread id -- who wants to have the thread id, loads this module. Such module can bring
other features, like launching a thread from config to trigger a notification to external
systems (e.g., do send_udp() from corex module)
--
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/pull/2826#issuecomment-900614495