[Asterisk-cvs] asterisk/apps app_dumpchan.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Fri Nov 5 23:46:28 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19054/apps

Modified Files:
	app_dumpchan.c 
Log Message:
oops


Index: app_dumpchan.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dumpchan.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_dumpchan.c	6 Nov 2004 04:46:06 -0000	1.1
+++ app_dumpchan.c	6 Nov 2004 04:48:34 -0000	1.2
@@ -26,8 +26,12 @@
 static char *tdesc = "Dump Info About The Calling Channel";
 static char *app = "DumpChan";
 static char *synopsis = "Dump Info About The Calling Channel";
-static char *desc = "Usage: exten => 1,1,DumpChan([<min_verbose_level>])\n\n"
-"If optional min_verbose_level is specified, only dump data when that verbose level is set.\n\n";
+static char *desc = 
+"   DumpChan([<min_verbose_level>])\n"
+"Displays information on channel and listing of all channel\n"
+"variables.  If min_verbose_level is specified, output is only\n"
+"display when the verbose level is currently set to that number\n"
+"or greater.  Always returns 0.\n\n";
 
 STANDARD_LOCAL_USER;
 
@@ -103,7 +107,7 @@
 			 c->stack,
 			 (c->blocking ? c->blockproc : "(Not Blocking)"));
 
-	return 1;
+	return 0;
 }
 
 static int dumpchan_exec(struct ast_channel *chan, void *data)




More information about the svn-commits mailing list