From: Mark Spencer Date: Sat, 31 Jul 2004 23:02:55 +0000 (+0000) Subject: Get other instance of 101 changed to "payload" (bug #2191) X-Git-Tag: 1.0.0-rc2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a45232fae7c489c99240009334b483b04f7bfc;p=thirdparty%2Fasterisk.git Get other instance of 101 changed to "payload" (bug #2191) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3554 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/rtp.c b/rtp.c index 55a4e35781..518817da53 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 */