[asterisk-commits] file: branch 1.4 r174997 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 11 18:19:30 CST 2009


Author: file
Date: Wed Feb 11 18:19:30 2009
New Revision: 174997

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174997
Log:
Revert RTP changes for continuation of DTMF. Proxy commit by russell via SMS.

Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=174997&r1=174996&r2=174997
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Feb 11 18:19:30 2009
@@ -1298,21 +1298,6 @@
 
 	/* 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;




More information about the asterisk-commits mailing list