Module: kamailio
Branch: master
Commit: 9331044bf517be120dea59414402415090b63007
URL:
https://github.com/kamailio/kamailio/commit/9331044bf517be120dea59414402415…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-09-11T22:07:31+02:00
usrloc: export modparam to set keepalive timeout
- variable was not exported by the module for internal keepalive
mechanism
---
Modified: src/modules/usrloc/usrloc_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9331044bf517be120dea59414402415…
Patch:
https://github.com/kamailio/kamailio/commit/9331044bf517be120dea59414402415…
---
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}