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
... ...
@@ -1511,7 +1511,8 @@ int t_unref( struct sip_msg* p_msg  )
1511 1511
 				LM_BUG("called w/ kr=REQ_ERR_DELAYED in failure"
1512 1512
 						" route for %p\n", T);
1513 1513
 			}else if (unlikely( kill_transaction(T, tm_error)<=0 )){
1514
-				LM_ERR("generation of a delayed stateful reply"
1514
+				// could be a valid error, or due to a immediate CANCEL
1515
+				LM_WARN("generation of a delayed stateful reply"
1515 1516
 						" failed\n");
1516 1517
 				t_release_transaction(T);
1517 1518
 			}