@henningw Q: "Is the binding from Kamailio memory manager to library memory manager functionality (ortp_memory_functions etc..) not needed anymore?"
A: I found as least to edge case in oRTP where it was not using the specified memory allocation functions ... At this point I think it will be less problematic spawn threads from one or more dedicated processes in Kamailio, the worker processes will not interact with the libraries directly. This seems like a perfectly fine decision in terms of architecture and there will be no more bugs related to shared memory ...
Thank for pinpointing the unwanted modifications to the core