I have no experience in ssl coding and not deep know algorithms for working with it. I will try to make something but i suppose it will be longe than whait you. Anyway i will try by my side, and let you know if will do it. But if you will have time - will be great if you start to do it because i suppose you finish first)
2016-07-25 15:17 GMT+03:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
the plan was to dig more in the libssl, because it seems to have the memory/locking management functions already set. But with IETF and traveling, I didn't have any time for it.
Maybe you can make a very simple c program linking to libssl that just prints the memory functions as done by the log message in kamailio and see if they are null or not. Cheers, Daniel
On 25/07/16 11:51, Yuriy Gorlichenko wrote:
I also checked archive SR-users.list and found question about same staff.
I installed kamailio from master branch on ubuntu 16.04 with small changes at tls module. It gives same error but more clear result. (tested with default kamailio file - moved tls.so before ALL modules)
0(27545) ERROR: tls [tls_init.c:493]: tls_pre_init(): Unable to set the memory allocation functions 0(27545) ERROR: tls [tls_init.c:495]: tls_pre_init(): libssl current mem functions - m: 0x7fab2a42d550 r: 0x7fab2a42dc40 f: 0x7fab2a42da70 0(27545) ERROR: tls [tls_init.c:497]: tls_pre_init(): Be sure tls module is loaded before any other module using libssl (can be loaded first to be safe) 0(27545) ERROR: <core> [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed
2016-07-25 12:23 GMT+03:00 Yuriy Gorlichenko ovoshlook@gmail.com:
Just asking about any progress of this staff
THere is a bug descried at the ubuntu bug tracker https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1591992
There is bug that i wrote at the kamailio bug tracker https://github.com/kamailio/kamailio/issues/714
Closed it because It is not trouble of kamailio itself. I suppose something wrong at the ubuntu enviroment
Any ideas or may be someone resolves it?
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users