aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 03:22:17 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 03:22:17 +0000
commit1ded8ba4607164357545110ea71b4ffa1da4c189 (patch)
treea05fbdff1c0258aaeaceb977e0d97e86db6cc3da
parentddcd850fedae0588583c17f690f635c19bc1d215 (diff)
Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57768 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index b3731a3e7..e25409e47 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;