[svn-commits] dhubbard: branch group/issue3450 r139277 - /team/group/issue3450/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 20 21:58:38 CDT 2008


Author: dhubbard
Date: Wed Aug 20 21:58:37 2008
New Revision: 139277

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139277
Log:
remove development cli operation

Modified:
    team/group/issue3450/channels/chan_dahdi.c

Modified: team/group/issue3450/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/group/issue3450/channels/chan_dahdi.c?view=diff&rev=139277&r1=139276&r2=139277
==============================================================================
--- team/group/issue3450/channels/chan_dahdi.c (original)
+++ team/group/issue3450/channels/chan_dahdi.c Wed Aug 20 21:58:37 2008
@@ -11944,26 +11944,6 @@
 	return CLI_FAILURE;
 }
 
-
-static char *handle_pri_service_clear_states(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
-{
-	switch (cmd) {
-	case CLI_INIT:	
-		e->command = "pri service clear states";
-		e->usage = 
-			"Usage: pri service clear states\n"
-			"	Clear the AstDB of PRI persistent service-state entries\n"
-			"       NOTE: This will not change the actual PRI service-state, but will only\n"
-			"       clear the database entries.\n";
-		return NULL;
-	case CLI_GENERATE:	
-		return NULL;
-	}
-	ast_db_deltree(dahdi_db, NULL);
-	return CLI_SUCCESS;
-	
-}
-
 static char *handle_pri_service_enable_channel(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
 {
 	switch (cmd) {
@@ -12231,7 +12211,6 @@
 	AST_CLI_DEFINE(handle_pri_no_debug, "Disables PRI debugging on a span"),
 	AST_CLI_DEFINE(handle_pri_really_debug, "Enables REALLY INTENSE PRI debugging"),
 #ifdef HAVE_PRI_SERVICE_MESSAGES
-	AST_CLI_DEFINE(handle_pri_service_clear_states, "debug for clearing astdb"),
  	AST_CLI_DEFINE(handle_pri_service_enable_channel, "Return a channel to service"),
  	AST_CLI_DEFINE(handle_pri_service_disable_channel, "Remove a channel from service"),
 #endif




More information about the svn-commits mailing list