소스 검색

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
Henning Westerholt 5 년 전
부모
커밋
d85d43247c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/modules/tm/t_lookup.c

+ 2 - 1
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);
 			}