]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 03:22:17 +0000 (03:22 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 5 Mar 2007 03:22:17 +0000 (03:22 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57768 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index b3731a3e7dcffc6d23a954f2d91ee24b1bc414f8..e25409e47bc6b30153717db94e62154eeb9f9d14 100644 (file)
@@ -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;