aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-24 04:12:23 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-24 04:12:23 +0000
commit9378d3a2c1a7cd0d77ccc94849079cc3acc1fac9 (patch)
treea63dddc759e4d47616fe0459dce82e9fc7af0b18 /rtp.c
parent81de63321794f731514166d1a6eea09691b60b57 (diff)
Don't increment RTP timestmap on sending of DTMF (bug #2928)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4328 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 8dc7a2fef..d79309312 100755
--- a/rtp.c
+++ b/rtp.c
@@ -1013,7 +1013,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];
@@ -1045,10 +1044,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;