From: Joshua Colp Date: Mon, 5 Mar 2007 03:22:17 +0000 (+0000) Subject: Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg) X-Git-Tag: 1.4.2~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44dd29ff612da077c4efa3a0c43c80c708d0d609;p=thirdparty%2Fasterisk.git 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 --- 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;