[sr-dev] git:5.4:2d733ec7: tm: print ruri mode in debug message from t load contacts

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 19 13:41:04 CET 2020


Module: kamailio
Branch: 5.4
Commit: 2d733ec7c9e26ad79d9d8503db0d342217febd30
URL: https://github.com/kamailio/kamailio/commit/2d733ec7c9e26ad79d9d8503db0d342217febd30

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-11-19T13:29:03+01:00

tm: print ruri mode in debug message from t load contacts

(cherry picked from commit 3214ecd8ee82d1b69cde57d96dddefe1301c190c)

---

Modified: src/modules/tm/t_serial.c

---

Diff:  https://github.com/kamailio/kamailio/commit/2d733ec7c9e26ad79d9d8503db0d342217febd30.diff
Patch: https://github.com/kamailio/kamailio/commit/2d733ec7c9e26ad79d9d8503db0d342217febd30.patch

---

diff --git a/src/modules/tm/t_serial.c b/src/modules/tm/t_serial.c
index 13611cdb54..e7e9c8eedc 100644
--- a/src/modules/tm/t_serial.c
+++ b/src/modules/tm/t_serial.c
@@ -337,7 +337,7 @@ int ki_t_load_contacts_mode(struct sip_msg* msg, int mode)
 	}
 
 	/* Check if anything needs to be done */
-	LM_DBG("nr_branches is %d\n", nr_branches);
+	LM_DBG("nr_branches is %d - new uri mode %d\n", nr_branches, ruri_is_new);
 
 	if ((nr_branches == 0) || ((nr_branches == 1) && !ruri_is_new)) {
 		LM_DBG("nothing to do - only one contact!\n");




More information about the sr-dev mailing list