[asterisk-commits] tilghman: trunk r84582 - in /trunk: ./ main/rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 3 18:05:48 CDT 2007
Author: tilghman
Date: Wed Oct 3 18:05:47 2007
New Revision: 84582
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84582
Log:
Merged revisions 84581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84581 | tilghman | 2007-10-03 17:59:17 -0500 (Wed, 03 Oct 2007) | 2 lines
When an RFC 2833 event is sent that we don't recognize, ignore it, don't queue a NULL digit (closes issue #10877)
........
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?view=diff&rev=84582&r1=84581&r2=84582
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Wed Oct 3 18:05:47 2007
@@ -961,6 +961,10 @@
resp = 'A' + (event - 12);
} else if (event < 17) { /* Event 16: Hook flash */
resp = 'X';
+ } else {
+ /* Not a supported event */
+ ast_log(LOG_DEBUG, "Ignoring RTP 2833 Event: %08x. Not a DTMF Digit.\n", event);
+ return &ast_null_frame;
}
if (ast_test_flag(rtp, FLAG_DTMF_COMPENSATE)) {
More information about the asterisk-commits
mailing list