Hello,
this sounds strange. There is no TLS specific code in the dialog module.
As a workaround, you could use for example SIP Session Timer for periodic re-INVITEs.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
From: sr-users <sr-users-bounces@lists.kamailio.org>
On Behalf Of Denys Pozniak
Sent: Thursday, September 29, 2022 3:19 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] Keepalive dialog with SIP/TLS OPTIONS
Hello!
In order to keep the SIP/TCP connection alive for some specific clients (more precisely, specific firewalls) in long calls, I use periodic SIP OPTIONS probes through the dialog module.
I noticed that when subscribers are using the SIP/TLS protocol, such keepalives are not sent (with SIP/UDP and SIP/TCP working well).
I did not detect any obvious errors in the debug mode.
Are there any ideas why the messages are not being sent for SIP/TLS leg?
----
loadmodule "dialog.so"
modparam("dialog", "db_url", "DBURL")
modparam("dialog", "db_mode", 1)
modparam("dialog", "ka_timer", 5)
modparam("dialog", "ka_interval", 30)
modparam("dialog", "ka_failed_limit", 2)
modparam("dialog", "send_bye", 1)
modparam("dialog", "track_cseq_updates", 1)
modparam("dialog", "default_timeout", 7205)
-----
dlg_manage();
dlg_set_property("ka-src");
dlg_set_property("ka-dst");
--
BR,
Denys Pozniak