Hello Joel,
my use case will be:
- We use two Kamailio instances (A and B)
- A Client registers to a Kamailio A using TLS (SIP over TLS). The TLS session data shall be stored into an external DB. - Kamailio A is now unreachable. - The client sends a register to Kamailio B over TLS. - Kamailio B shall look into the external DB and checks that there is already a TLS session data and can reuse it.
Best regards, Toffi Am Mittwoch, 31. Oktober 2018, 18:03:48 MEZ hat Joel Serrano joel@textplus.com Folgendes geschrieben:
I'm not sure how to answer correctly that question as it depends completely on what you are trying to accomplish. Say you get to save the TLS connection information in a database, how would that be helpful? On Wed, Oct 31, 2018 at 7:08 AM Toffi Bossol toffi.bossol@yahoo.com wrote:
Hello Joel,
manythanks for your reply.
Background info: Iam trying to implement Kamailio as stateless as possible and wonder how I cancache and reuse the information from a TLS connection within a database.
And does cachingmake sense?
Best regards,
Toffi
Am Mittwoch, 31. Oktober 2018, 02:01:04 MEZ hat Joel Serrano joel@textplus.com Folgendes geschrieben:
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_pse...
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
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users