I think it is ok with such option, too. Maybe we other parts of code want to use such
hashing function in the future. That's the reason I added in this way for callid,
thinking that maybe even requests generated in other parts to be sent stateless will use
it.
Otherwise, there is a way to export a function using module interface. You can look at rr
module, it exports load_rr(...) via mod interface, then in the rr/api.h is an inline
function load_rr_api(...) that makes it easy for other modules to load exported API. Then
you can look at path or uac modules how they load the rr API and use it.
--
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/1911#issuecomment-477614998