don't increment the timestamp on dtmf (bug 2928)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-11-25 18:16:16 +00:00
parent bb6333e01f
commit 418ff58e61

5
rtp.c
View File

@@ -978,7 +978,6 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
unsigned int *rtpheader;
int hdrlen = 12;
int res;
int ms;
int x;
int payload;
char data[256];
@@ -1010,10 +1009,6 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
rtp->dtmfmute.tv_usec -= 1000000;
rtp->dtmfmute.tv_sec += 1;
}
ms = calc_txstamp(rtp, NULL);
/* Default prediction */
rtp->lastts = rtp->lastts + ms * 8;
/* Get a pointer to the header */
rtpheader = (unsigned int *)data;