Module: kamailio
Branch: master
Commit: 4a49e18217e9e0a3ede9c2cd1be64afc5ad3d749
URL:
https://github.com/kamailio/kamailio/commit/4a49e18217e9e0a3ede9c2cd1be64af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-03-15T09:39:03+01:00
acc: debug messages when initializing db table names
---
Modified: src/modules/acc/acc_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4a49e18217e9e0a3ede9c2cd1be64af…
Patch:
https://github.com/kamailio/kamailio/commit/4a49e18217e9e0a3ede9c2cd1be64af…
---
diff --git a/src/modules/acc/acc_mod.c b/src/modules/acc/acc_mod.c
index a4f9a64265..ba18a8f8f6 100644
--- a/src/modules/acc/acc_mod.c
+++ b/src/modules/acc/acc_mod.c
@@ -374,6 +374,8 @@ static int mod_init( void )
LM_ERR("unable to parse acc table name [%.*s]\n",
db_table_acc.len, db_table_acc.s);
return -1;
+ } else {
+ LM_DBG("acc db table initialized to: %s\n", db_table_acc.s);
}
}
if(db_table_mc.len!=12 || strncmp(db_table_mc.s, "missed_calls", 12)!=0)
@@ -384,6 +386,8 @@ static int mod_init( void )
LM_ERR("unable to parse mc table name [%.*s]\n",
db_table_mc.len, db_table_mc.s);
return -1;
+ } else {
+ LM_DBG("missed calls db table initialized to: %s\n", db_table_mc.s);
}
}