[asterisk-commits] trunk r25567 - /trunk/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 07:45:18 MST 2006


Author: markster
Date: Mon May  8 09:45:18 2006
New Revision: 25567

URL: http://svn.digium.com/view/asterisk?rev=25567&view=rev
Log:
Minor cleanup on dtmf calling (bug #7076)

Modified:
    trunk/channel.c

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=25567&r1=25566&r2=25567&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Mon May  8 09:45:18 2006
@@ -2186,8 +2186,7 @@
 
 	if (chan->tech->send_digit)
 		res = chan->tech->send_digit(chan, digit);
-	if (!(chan->tech->send_digit && chan->tech->send_digit_begin) ||
-	    res) {
+	if (res) {
 		/*
 		 * Device does not support DTMF tones, lets fake
 		 * it by doing our own generation. (PM2002)



More information about the asterisk-commits mailing list