Browse code

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)

Henning Westerholt authored on 23/07/2020 15:23:15
Showing 1 changed files
... ...
@@ -1495,7 +1495,8 @@ int t_unref( struct sip_msg* p_msg  )
1495 1495
 				LM_BUG("called w/ kr=REQ_ERR_DELAYED in failure"
1496 1496
 						" route for %p\n", T);
1497 1497
 			}else if (unlikely( kill_transaction(T, tm_error)<=0 )){
1498
-				LM_ERR("generation of a delayed stateful reply"
1498
+				// could be a valid error, or due to a immediate CANCEL
1499
+				LM_WARN("generation of a delayed stateful reply"
1499 1500
 						" failed\n");
1500 1501
 				t_release_transaction(T);
1501 1502
 			}