Maybe use a pseudovariable from the TLS module to get the data you want and then use sqlops to insert it to database?

Have a look: 

https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#tls_module_pseudo-variables
https://kamailio.org/docs/modules/5.1.x/modules/sqlops.html


On Tue, Oct 30, 2018 at 8:11 AM Toffi Bossol <toffi.bossol@yahoo.com> wrote:
Dear community,

I am new in Kamailio hence the following question:
Does any one know how to tell Kamailio to store the TLS session data in an external DB?

Many Thanks in advance!

BR;
Toffi
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users