[svn-commits] file: trunk r43799 - in /trunk: ./ main/rtp.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed Sep 27 12:12:41 MST 2006
Author: file
Date: Wed Sep 27 14:12:40 2006
New Revision: 43799
URL: http://svn.digium.com/view/asterisk?rev=43799&view=rev
Log:
Merged revisions 43798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43798 | file | 2006-09-27 15:10:59 -0400 (Wed, 27 Sep 2006) | 2 lines
Compensate for out of order packets better if RFC2833 compensation is turned on.
........
Modified:
trunk/ (props changed)
trunk/main/rtp.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?rev=43799&r1=43798&r2=43799&view=diff
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Wed Sep 27 14:12:40 2006
@@ -727,6 +727,12 @@
if (!ast_test_flag(rtp, FLAG_DTMF_COMPENSATE))
f = send_dtmf(rtp, AST_FRAME_DTMF_BEGIN);
} else if (event_end & 0x80 && rtp->lasteventendseqn != seqno && rtp->resp) {
+ f = send_dtmf(rtp, AST_FRAME_DTMF_END);
+ f->samples = duration;
+ rtp->resp = 0;
+ rtp->lasteventendseqn = seqno;
+ } else if (ast_test_flag(rtp, FLAG_DTMF_COMPENSATE) && event_end & 0x80 && rtp->lasteventendseqn != seqno) {
+ rtp->resp = resp;
f = send_dtmf(rtp, AST_FRAME_DTMF_END);
f->samples = duration;
rtp->resp = 0;
More information about the svn-commits
mailing list