Module: kamailio
Branch: master
Commit: ce19d9212feb0ff4b017b5eaa71e4637a71aa4b9
URL:
https://github.com/kamailio/kamailio/commit/ce19d9212feb0ff4b017b5eaa71e463…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-09-09T08:34:08+02:00
siptrace: turn warn into info message about loading dlg api
- dialog tracking is optional
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ce19d9212feb0ff4b017b5eaa71e463…
Patch:
https://github.com/kamailio/kamailio/commit/ce19d9212feb0ff4b017b5eaa71e463…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 211ddac363..35bfb1c78a 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -335,9 +335,8 @@ static int mod_init(void)
}
if (load_dlg_api(&dlgb) < 0) {
- LM_WARN("can't load dlg api. Will not install dialog callbacks.\n");
- }
- else {
+ LM_INFO("can't load dlg api. Will not install dialog callbacks.\n");
+ } else {
if (dlgb.register_dlgcb(NULL, DLGCB_CREATED, trace_dialog, NULL, NULL) != 0) {
LM_ERR("failed to register dialog callbacks! Tracing dialogs won't be
available\n");
}