[sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

Daniel-Constantin Mierla notifications at github.com
Thu Mar 28 15:19:53 CET 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190328/1241e963/attachment.html>


More information about the sr-dev mailing list