diff --git a/rtp.c b/rtp.c index b33be20d8125308f649123bfc219ee99c0fe2966..8dc7a2fefc25a2faae01c326562d6ebc516e56f4 100755 --- a/rtp.c +++ b/rtp.c @@ -1073,6 +1073,8 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit) rtpheader[3] |= htonl((800)); /* Set the End bit for the last 3 */ rtpheader[3] |= htonl((1 << 23)); + } else if ( x < 3) { + rtpheader[0] = htonl((2 << 30) | (payload << 16) | (rtp->seqno++)); } } return 0;