Module: kamailio
Branch: master
Commit: 8525a26fa60c70035df22495ecf309d01019d093
URL:
https://github.com/kamailio/kamailio/commit/8525a26fa60c70035df22495ecf309d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-03-29T17:25:28+02:00
usrloc: default keepalive log message prints remote address in socket format
- more compact than sip uri format
---
Modified: src/modules/usrloc/usrloc_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8525a26fa60c70035df22495ecf309d…
Patch:
https://github.com/kamailio/kamailio/commit/8525a26fa60c70035df22495ecf309d…
---
diff --git a/src/modules/usrloc/usrloc_mod.c b/src/modules/usrloc/usrloc_mod.c
index 8d3cfffdbf..dfc0bc5141 100644
--- a/src/modules/usrloc/usrloc_mod.c
+++ b/src/modules/usrloc/usrloc_mod.c
@@ -124,7 +124,7 @@ str ul_ka_method = str_init("OPTIONS");
int ul_ka_mode = 0;
int ul_ka_filter = 0;
int ul_ka_loglevel = 255;
-str ul_ka_logmsg = str_init(" to-uri: [$tu] src-uri: [$su]");
+str ul_ka_logmsg = str_init(" to-uri: [$tu] remote-addr: [$sas]");
pv_elem_t *ul_ka_logfmt = NULL;
/* sruid to get internal uid for mi/rpc commands */