Module: kamailio
Branch: master
Commit: 5590c62e4a98d59d542db2bab8f176e07f874d65
URL:
https://github.com/kamailio/kamailio/commit/5590c62e4a98d59d542db2bab8f176e…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-04-13T20:00:13+02:00
acc: several log messages fixes related to dialog callback
---
Modified: src/modules/acc/acc_cdr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5590c62e4a98d59d542db2bab8f176e…
Patch:
https://github.com/kamailio/kamailio/commit/5590c62e4a98d59d542db2bab8f176e…
---
diff --git a/src/modules/acc/acc_cdr.c b/src/modules/acc/acc_cdr.c
index 09dcaedac0..8a0cdfa2a4 100644
--- a/src/modules/acc/acc_cdr.c
+++ b/src/modules/acc/acc_cdr.c
@@ -809,7 +809,7 @@ static void cdr_on_create( struct dlg_cell* dialog,
}
}
-/* callback for loading a dialog frm database */
+/* callback for loading a dialog from database */
static void cdr_on_load( struct dlg_cell* dialog,
int type,
struct dlg_cb_params* params)
@@ -863,7 +863,7 @@ static void cdr_on_load( struct dlg_cell* dialog,
return;
}
- LM_DBG("dialog '%p' loaded!", dialog);
+ LM_DBG("dialog '%p' loaded and callbacks registered\n", dialog);
}
@@ -933,7 +933,7 @@ int init_cdr_generation( void)
if( dlgb.register_dlgcb( 0, DLGCB_LOADED, cdr_on_load, 0, 0) != 0)
{
- LM_ERR("can't register on load callback\n");
+ LM_ERR("can't register create callback\n");
return -1;
}