[asterisk-commits] tilghman: branch 1.4 r84581 - /branches/1.4/main/rtp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 3 17:59:18 CDT 2007
Author: tilghman
Date: Wed Oct 3 17:59:17 2007
New Revision: 84581
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84581
Log:
When an RFC 2833 event is sent that we don't recognize, ignore it, don't queue a NULL digit (closes issue #10877)
Modified:
branches/1.4/main/rtp.c
Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=84581&r1=84580&r2=84581
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Oct 3 17:59:17 2007
@@ -737,6 +737,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