[asterisk-commits] russell: branch 1.4 r174986 - /branches/1.4/main/rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 11 18:01:03 CST 2009
Author: russell
Date: Wed Feb 11 18:01:02 2009
New Revision: 174986
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174986
Log:
Clear out the current event after forcing the end of a digit
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=174986&r1=174985&r2=174986
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Feb 11 18:01:02 2009
@@ -1307,7 +1307,10 @@
}
if (rtp->resp && !rtp->dtmfcount) {
- return send_dtmf(rtp, AST_FRAME_DTMF_END);
+ struct ast_frame *f;
+ f = send_dtmf(rtp, AST_FRAME_DTMF_END);
+ rtp->resp = 0;
+ return f;
}
}
More information about the asterisk-commits
mailing list