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

Daniel-Constantin Mierla notifications at github.com
Wed Mar 27 18:35:05 CET 2019


If you want to use crypto hashing from libcrypto, the best way to do it is to add what you need to crypto module and then have an option via modparam in rtpengine module to bind to crypto module and use that function. Otherwise, it should be using the internal hashing function (can be changed from what is doing now with another hash function from those available in the core).

Not exactly the same, but a similar solution was made for having better "random" call-id for requests generated by Kamailio. That is done also via "crypto" module, but setting some core callback, instead of exporting an intermodule API. See this parameter:

  * https://www.kamailio.org/docs/modules/stable/modules/crypto.html#crypto.p.register_callid



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


More information about the sr-dev mailing list