diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-12 00:19:30 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-12 00:19:30 +0000 |
commit | a4fb4a209ff9c0909c0a180a19d85b6c49c42058 (patch) | |
tree | cb358f5fd2d1d9dc200c81380054792d4e16a0a3 /main | |
parent | 2b3cd446c62e1d1f7fcb86e3e5c8ef3c30c3d123 (diff) |
Revert RTP changes for continuation of DTMF. Proxy commit by russell via SMS.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@174997 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/rtp.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/main/rtp.c b/main/rtp.c index b394cf285..5165ade83 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -1299,21 +1299,6 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) /* Record received timestamp as last received now */ rtp->lastrxts = timestamp; - if (rtp->dtmfcount) { - rtp->dtmfcount -= (timestamp - rtp->lastrxts); - - if (rtp->dtmfcount < 0) { - rtp->dtmfcount = 0; - } - - if (rtp->resp && !rtp->dtmfcount) { - struct ast_frame *f; - f = send_dtmf(rtp, AST_FRAME_DTMF_END); - rtp->resp = 0; - return f; - } - } - rtp->f.mallocd = 0; rtp->f.datalen = res - hdrlen; rtp->f.data = rtp->rawdata + hdrlen + AST_FRIENDLY_OFFSET; |