[asterisk-commits] dvossel: branch dvossel/hd_confbridge r309338 - /team/dvossel/hd_confbridge/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 2 17:27:54 CST 2011


Author: dvossel
Date: Wed Mar  2 17:27:52 2011
New Revision: 309338

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309338
Log:
Reverting confbridge reload cli command. module reload app_confbridge is sufficient

Modified:
    team/dvossel/hd_confbridge/apps/app_confbridge.c

Modified: team/dvossel/hd_confbridge/apps/app_confbridge.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/hd_confbridge/apps/app_confbridge.c?view=diff&rev=309338&r1=309337&r2=309338
==============================================================================
--- team/dvossel/hd_confbridge/apps/app_confbridge.c (original)
+++ team/dvossel/hd_confbridge/apps/app_confbridge.c Wed Mar  2 17:27:52 2011
@@ -790,25 +790,9 @@
 	return CLI_SHOWUSAGE;
 }
 
-static char *handle_cli_confbridge_reload(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
-{
-	switch (cmd) {
-	case CLI_INIT:
-		e->command = "confbridge reload";
-		e->usage = "Usage confbridge reload\n";
-		return NULL;
-	case CLI_GENERATE:
-		return NULL;
-	}
-
-	conf_load_config(1);
-	return CLI_SUCCESS;
-}
-
 static struct ast_cli_entry cli_confbridge[] = {
 	AST_CLI_DEFINE(handle_cli_confbridge_list, "List conference bridges and participants."),
 	AST_CLI_DEFINE(handle_cli_confbridge_kick, "Kick participants out of conference bridges."),
-	AST_CLI_DEFINE(handle_cli_confbridge_reload, "Reload confbridge.conf configuration file."),
 };
 
 /*! \brief Called when module is being unloaded */




More information about the asterisk-commits mailing list