Module: kamailio
Branch: 5.4
Commit: f5eb642c9bc9012debd2009ad03f2598d0c7c354
URL:
https://github.com/kamailio/kamailio/commit/f5eb642c9bc9012debd2009ad03f259…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-09-22T19:28:48+02:00
usrloc: export modparam to set keepalive timeout
- variable was not exported by the module for internal keepalive
mechanism
(cherry picked from commit 9331044bf517be120dea59414402415090b63007)
---
Modified: src/modules/usrloc/usrloc_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f5eb642c9bc9012debd2009ad03f259…
Patch:
https://github.com/kamailio/kamailio/commit/f5eb642c9bc9012debd2009ad03f259…
---
diff --git a/src/modules/usrloc/usrloc_mod.c b/src/modules/usrloc/usrloc_mod.c
index 7aecb318a1..860fb715b5 100644
--- a/src/modules/usrloc/usrloc_mod.c
+++ b/src/modules/usrloc/usrloc_mod.c
@@ -258,6 +258,7 @@ static param_export_t params[] = {
{"ka_domain", PARAM_STR, &ul_ka_domain},
{"ka_method", PARAM_STR, &ul_ka_method},
{"ka_filter", PARAM_INT, &ul_ka_filter},
+ {"ka_timeout", PARAM_INT, &ul_keepalive_timeout},
{"ka_loglevel", PARAM_INT, &ul_ka_loglevel},
{"ka_logmsg", PARAM_STR, &ul_ka_logmsg},
{0, 0, 0}