From 0f11b3b189db6c59853a6e8b8d5c42e071a93ceb Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sat, 6 Nov 2004 04:48:34 +0000 Subject: oops git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4166 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dumpchan.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'apps/app_dumpchan.c') diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index 814f4522d..ce17775c7 100755 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -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([])\n\n" -"If optional min_verbose_level is specified, only dump data when that verbose level is set.\n\n"; +static char *desc = +" DumpChan([])\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 @@ static int ast_serialize_showchan(struct ast_channel *c, char *buf, size_t size) c->stack, (c->blocking ? c->blockproc : "(Not Blocking)")); - return 1; + return 0; } static int dumpchan_exec(struct ast_channel *chan, void *data) -- cgit v1.2.3