[sr-dev] git:5.6:167237f7: tm: enable debug message to log putting transaction on wait

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 6 10:00:21 CEST 2022


Module: kamailio
Branch: 5.6
Commit: 167237f7ce1a17b6d0e83fd90e563dc70ce0b68d
URL: https://github.com/kamailio/kamailio/commit/167237f7ce1a17b6d0e83fd90e563dc70ce0b68d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-07-06T09:53:41+02:00

tm: enable debug message to log putting transaction on wait

(cherry picked from commit c67bbca95b861f735889f14467c0192896298e84)

---

Modified: src/modules/tm/t_funcs.c

---

Diff:  https://github.com/kamailio/kamailio/commit/167237f7ce1a17b6d0e83fd90e563dc70ce0b68d.diff
Patch: https://github.com/kamailio/kamailio/commit/167237f7ce1a17b6d0e83fd90e563dc70ce0b68d.patch

---

diff --git a/src/modules/tm/t_funcs.c b/src/modules/tm/t_funcs.c
index 97c0d2568b..82b731a6cd 100644
--- a/src/modules/tm/t_funcs.c
+++ b/src/modules/tm/t_funcs.c
@@ -117,10 +117,7 @@ int t_release_transaction( struct cell *trans )
 void put_on_wait(  struct cell  *Trans  )
 {
 
-#ifdef EXTRA_DEBUG
-	LM_DBG("put on WAIT \n");
-#endif
-
+	LM_DBG("put T [%p] on wait\n", Trans);
 
 	/* we put the transaction on wait timer; we do it only once
 	   in transaction's timelife because putting it multiple-times




More information about the sr-dev mailing list