[asterisk-commits] russell: branch group/vldtmf r40485 - /team/group/vldtmf/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 18 20:09:18 MST 2006


Author: russell
Date: Fri Aug 18 22:09:17 2006
New Revision: 40485

URL: http://svn.digium.com/view/asterisk?rev=40485&view=rev
Log:
little tweak here, little tweak there

Modified:
    team/group/vldtmf/channel.c

Modified: team/group/vldtmf/channel.c
URL: http://svn.digium.com/view/asterisk/team/group/vldtmf/channel.c?rev=40485&r1=40484&r2=40485&view=diff
==============================================================================
--- team/group/vldtmf/channel.c (original)
+++ team/group/vldtmf/channel.c Fri Aug 18 22:09:17 2006
@@ -2044,8 +2044,7 @@
 					ast_log(LOG_WARNING, "Dropping deferred DTMF digits on %s\n", chan->name);
 				ast_frfree(f);
 				f = &ast_null_frame;
-			}
-			if (!ast_test_flag(chan, AST_FLAG_IN_DTMF)) {
+			} else if (!ast_test_flag(chan, AST_FLAG_IN_DTMF)) {
 				f->frametype = AST_FRAME_DTMF_BEGIN;
 				ast_set_flag(chan, AST_FLAG_EMULATE_DTMF);
 				if (f->samples)



More information about the asterisk-commits mailing list