Module: kamailio
Branch: master
Commit: 0fcb2607d2d63a0e10fce189b6881ac15b985bb4
URL:
https://github.com/kamailio/kamailio/commit/0fcb2607d2d63a0e10fce189b6881ac…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-06-28T08:07:02+02:00
uac: debug messages when initializing the remote uac registration
---
Modified: src/modules/uac/uac.c
Modified: src/modules/uac/uac_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0fcb2607d2d63a0e10fce189b6881ac…
Patch:
https://github.com/kamailio/kamailio/commit/0fcb2607d2d63a0e10fce189b6881ac…
---
diff --git a/src/modules/uac/uac.c b/src/modules/uac/uac.c
index 5a99e0820b..53a1b13cdf 100644
--- a/src/modules/uac/uac.c
+++ b/src/modules/uac/uac.c
@@ -382,6 +382,7 @@ static int child_init(int rank)
kam_srand(getpid() * 17 + time(0));
uac_reg_load_db();
+ LM_DBG("run initial uac registration routine\n");
uac_reg_timer(0);
for(;;){
/* update the local config framework structures */
diff --git a/src/modules/uac/uac_reg.c b/src/modules/uac/uac_reg.c
index 625cd434be..f75c7cf38a 100644
--- a/src/modules/uac/uac_reg.c
+++ b/src/modules/uac/uac_reg.c
@@ -579,6 +579,8 @@ int reg_ht_add(reg_uac_t *reg)
reg_ht_add_byuuid(nr);
counter_inc(regtotal);
+ LM_DBG("added uuid: %.*s - l_user: %.*s\n", nr->l_uuid.len,
nr->l_uuid.s,
+ nr->l_username.len, nr->l_username.s);
return 0;
}