From 44dd29ff612da077c4efa3a0c43c80c708d0d609 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 5 Mar 2007 03:22:17 +0000 Subject: [PATCH] Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57768 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/rtp.c b/main/rtp.c index b3731a3e7d..e25409e47b 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -1032,7 +1032,7 @@ static int bridge_p2p_rtp_write(struct ast_rtp *rtp, struct ast_rtp *bridged, un version = (seqno & 0xC0000000) >> 30; payload = (seqno & 0x7f0000) >> 16; padding = seqno & (1 << 29); - mark = seqno & (1 << 23); + mark = (seqno & 0x800000) >> 23; ext = seqno & (1 << 28); seqno &= 0xffff;