Browse code

tm: t_reply.c - received_reply() done if suspended after route

Giacomo Vacca authored on 05/05/2021 13:42:01
Showing 1 changed files
... ...
@@ -2653,6 +2653,11 @@ int reply_received( struct sip_msg  *p_msg )
2653 2653
 		}
2654 2654
 #endif
2655 2655
 
2656
+	if (t->flags & T_ASYNC_SUSPENDED) {
2657
+		LM_DBG("Reply for suspended transaction, done.\n");
2658
+		goto done;
2659
+	}
2660
+
2656 2661
 	if (unlikely(p_msg->msg_flags&FL_RPL_SUSPENDED)) {
2657 2662
 		/* suspended the reply (async) - no error */
2658 2663
 		goto done;