diff --git a/main/rtp.c b/main/rtp.c
index b53ad405bbf690623f5beedab5a7e7ceee946750..619acc347f2139bd1d3e00579f075285ec6778ec 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -2843,10 +2843,12 @@ static int p2p_rtp_callback(int *id, int fd, short events, void *cbdata)
 	}
 
 	/* If this came from the RTP stream, write out via RTP - if it's RTCP, write out via RTCP */
-	if (is_rtp)
-		bridge_p2p_rtp_write(rtp, header, res, hdrlen);
-	else if (is_rtcp)
-		bridge_p2p_rtcp_write(rtp, header, res);
+	if (ast_rtp_get_bridged(rtp)) {
+		if (is_rtp)
+			bridge_p2p_rtp_write(rtp, header, res, hdrlen);
+		else if (is_rtcp)
+			bridge_p2p_rtcp_write(rtp, header, res);
+	}
 
 	return 1;
 }