aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-25 18:16:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-25 18:16:16 +0000
commitb3171ba639d807c2af7cb9b8cb31f2aeefd07989 (patch)
treed5618556dbc94a9659da9ff50ebc4e284c8b0e01 /rtp.c
parent01cd2544211082ecc7382b56206658edf8817e2f (diff)
don't increment the timestamp on dtmf (bug 2928)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4344 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/rtp.c b/rtp.c
index b83e47b8b..3c6a5ea82 100755
--- a/rtp.c
+++ b/rtp.c
@@ -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;