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
This commit is contained in:
parent
677faeeda7
commit
71219703ee
1 changed files with 1 additions and 1 deletions
2
rtp.c
2
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 */
|
||||
|
|
Reference in a new issue