[asterisk-commits] russell: branch russell/chan_console r75162 - in /team/russell/chan_console: ...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 15 17:08:17 CDT 2007


Author: russell
Date: Sun Jul 15 17:08:16 2007
New Revision: 75162

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75162
Log:
remove answer cli command from todo, it's already there

Modified:
    team/russell/chan_console/Makefile.moddir_rules
    team/russell/chan_console/channels/chan_console.c
    team/russell/chan_console/funcs/func_iconv.c
    team/russell/chan_console/main/asterisk.c

Modified: team/russell/chan_console/Makefile.moddir_rules
URL: http://svn.digium.com/view/asterisk/team/russell/chan_console/Makefile.moddir_rules?view=diff&rev=75162&r1=75161&r2=75162
==============================================================================
--- team/russell/chan_console/Makefile.moddir_rules (original)
+++ team/russell/chan_console/Makefile.moddir_rules Sun Jul 15 17:08:16 2007
@@ -77,7 +77,10 @@
 	rm -f modules.link
 
 install:: all
-	for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
+	@for x in $(LOADABLE_MODS:%=%.so); do \
+		echo "   [INSTALL] $$x -> $(DESTDIR)$(MODULES_DIR)" ; \
+		$(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR)  ; \
+	done
 
 uninstall::
 

Modified: team/russell/chan_console/channels/chan_console.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_console/channels/chan_console.c?view=diff&rev=75162&r1=75161&r2=75162
==============================================================================
--- team/russell/chan_console/channels/chan_console.c (original)
+++ team/russell/chan_console/channels/chan_console.c Sun Jul 15 17:08:16 2007
@@ -38,7 +38,6 @@
  * Multiple device support
  * Set Auto-answer from the dialplan
  *
- * answer CLI command
  * flash CLI command
  * transfer CLI command
  * autoanswer CLI command (maybe general settings CLI command, instead?)
@@ -868,7 +867,7 @@
 		e->command = "console answer";
 		e->usage =
 			"Usage: console answer\n"
-			"       Answers an incoming call on the console (OSS) channel.\n";
+			"       Answers an incoming call on the console channel.\n";
 		return NULL;
 
 	case CLI_GENERATE:

Modified: team/russell/chan_console/funcs/func_iconv.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_console/funcs/func_iconv.c?view=diff&rev=75162&r1=75161&r2=75162
==============================================================================
--- team/russell/chan_console/funcs/func_iconv.c (original)
+++ team/russell/chan_console/funcs/func_iconv.c Sun Jul 15 17:08:16 2007
@@ -82,7 +82,7 @@
 		return -1;
 	}
 
-	if (iconv(cd, &args.text, &incount, &buf, &outcount) == (size_t) -1) {
+	if (iconv(cd, (const char **) &args.text, &incount, &buf, &outcount) == (size_t) -1) {
 		if (errno == E2BIG)
 			ast_log(LOG_WARNING, "Iconv: output buffer too small.\n");
 		else if (errno == EILSEQ)

Modified: team/russell/chan_console/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_console/main/asterisk.c?view=diff&rev=75162&r1=75161&r2=75162
==============================================================================
--- team/russell/chan_console/main/asterisk.c (original)
+++ team/russell/chan_console/main/asterisk.c Sun Jul 15 17:08:16 2007
@@ -1173,7 +1173,7 @@
 		/* According to the manpage, these parameters can never fail. */
 		sched_setscheduler(0, SCHED_OTHER, &sched);
 	}
-#else
+#elif 0
 	if (pri) {
 		if (setpriority(PRIO_PROCESS, 0, -10) == -1) {
 			ast_log(LOG_WARNING, "Unable to set high priority\n");




More information about the asterisk-commits mailing list