[sr-dev] git:4.3:aa91d8ba: tm: more verbose debug message when local transaction is completed

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 27 15:50:29 CEST 2015


Module: kamailio
Branch: 4.3
Commit: aa91d8ba178624c08ffcbb6af55efa777f6ca640
URL: https://github.com/kamailio/kamailio/commit/aa91d8ba178624c08ffcbb6af55efa777f6ca640

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-07-27T15:09:23+02:00

tm: more verbose debug message when local transaction is completed

(cherry picked from commit 54fea03a078f8258d124a83443617c54bdbc2574)

---

Modified: modules/tm/t_reply.c

---

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

---

diff --git a/modules/tm/t_reply.c b/modules/tm/t_reply.c
index d14ed1c..b2e6e53 100644
--- a/modules/tm/t_reply.c
+++ b/modules/tm/t_reply.c
@@ -2050,7 +2050,8 @@ enum rps local_reply( struct cell *t, struct sip_msg *p_msg, int branch,
 	}
 	
 	if (local_winner>=0 && winning_code>=200 ) {
-		DBG("DEBUG: local transaction completed\n");
+		DBG("DEBUG: local transaction completed %d/%d (totag retr: %d/%d)\n",
+				winning_code, local_winner, totag_retr, t->tmcb_hl.reg_types);
 		if (!totag_retr) {
 			if (unlikely(has_tran_tmcbs(t,TMCB_LOCAL_COMPLETED) ))
 				run_trans_callbacks( TMCB_LOCAL_COMPLETED, t, 0,




More information about the sr-dev mailing list