[SR-Users] Keepalive dialog with SIP/TLS OPTIONS

Henning Westerholt hw at gilawa.com
Thu Sep 29 19:26:35 CEST 2022


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.



Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Denys Pozniak
Sent: Thursday, September 29, 2022 3:19 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: [SR-Users] Keepalive dialog with SIP/TLS OPTIONS


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)


Denys Pozniak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220929/62d06891/attachment.htm>

More information about the sr-users mailing list