[asterisk-commits] jpeeler: branch jpeeler/bug16709 r250298 - /team/jpeeler/bug16709/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 2 21:19:43 CST 2010


Author: jpeeler
Date: Tue Mar  2 21:19:39 2010
New Revision: 250298

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=250298
Log:
yeah, didn't work, get rid of it

Modified:
    team/jpeeler/bug16709/channels/chan_dahdi.c

Modified: team/jpeeler/bug16709/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/jpeeler/bug16709/channels/chan_dahdi.c?view=diff&rev=250298&r1=250297&r2=250298
==============================================================================
--- team/jpeeler/bug16709/channels/chan_dahdi.c (original)
+++ team/jpeeler/bug16709/channels/chan_dahdi.c Tue Mar  2 21:19:39 2010
@@ -14585,14 +14585,6 @@
 				} else {
 					ast_cli(a->fd, "Hookstate (FXS only): %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
 				}
-/*
-//wish this worked, but it looks like DAHDI clears the alarm flags after copying everything else from userspace
-ast_log(LOG_WARNING, "jpeeler: about to set params\n");
-ps.chan_alarms = DAHDI_ALARM_RED;
-if (ioctl(tmp->subs[SUB_REAL].dfd, DAHDI_SET_PARAMS, &ps) < 0) {
-	ast_log(LOG_WARNING, "Failed to set parameters on channel %d: %s\n", tmp->channel, strerror(errno));
-}
-*/
 			}
 			ast_mutex_unlock(&iflock);
 			return CLI_SUCCESS;




More information about the asterisk-commits mailing list