[sr-dev] git:5.4:054eabae: tm: lower log level for t_unref kill transaction to WARN

Henning Westerholt hw at skalatan.de
Thu Jul 23 17:30:16 CEST 2020


Module: kamailio
Branch: 5.4
Commit: 054eabae916ba9d670b7967e67af1ceb5e5b0ae9
URL: https://github.com/kamailio/kamailio/commit/054eabae916ba9d670b7967e67af1ceb5e5b0ae9

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-07-23T15:30:05Z

tm: lower log level for t_unref kill transaction to WARN

- lower log level for t_unref kill transaction to WARN
- immediate CANCEL on an INVITE could trigger this

(cherry picked from commit d85d43247c3d056eebeec3f97735d13c048a181c)

---

Modified: src/modules/tm/t_lookup.c

---

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

---

diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 79c55a2dcf..dadfaa6b08 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -1495,7 +1495,8 @@ int t_unref( struct sip_msg* p_msg  )
 				LM_BUG("called w/ kr=REQ_ERR_DELAYED in failure"
 						" route for %p\n", T);
 			}else if (unlikely( kill_transaction(T, tm_error)<=0 )){
-				LM_ERR("generation of a delayed stateful reply"
+				// could be a valid error, or due to a immediate CANCEL
+				LM_WARN("generation of a delayed stateful reply"
 						" failed\n");
 				t_release_transaction(T);
 			}




More information about the sr-dev mailing list