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
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to