aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-31 23:02:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-31 23:02:55 +0000
commit71219703ee7cb19389f1c88f035dba282f8bdc1a (patch)
tree385c16243888c1a613e781d26c29cdce85f540b8 /rtp.c
parent677faeeda7698bf473d0aae1216b8dfcbf3a8d52 (diff)
Get other instance of 101 changed to "payload" (bug #2191)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3554 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index 55a4e3578..518817da5 100755
--- a/rtp.c
+++ b/rtp.c
@@ -1017,7 +1017,7 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
}
if (x ==0) {
/* Clear marker bit and increment seqno */
- rtpheader[0] = htonl((2 << 30) | (101 << 16) | (rtp->seqno++));
+ rtpheader[0] = htonl((2 << 30) | (payload << 16) | (rtp->seqno++));
/* Make duration 800 (100ms) */
rtpheader[3] |= htonl((800));
/* Set the End bit for the last 3 */