summaryrefslogtreecommitdiff
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-06 04:48:34 +0000
committerMark Spencer <markster@digium.com>2004-11-06 04:48:34 +0000
commit0f11b3b189db6c59853a6e8b8d5c42e071a93ceb (patch)
tree39370f6bd32cf075787c1a938016beeb26daa333 /apps/app_dumpchan.c
parente89f4dab17b3712d72c54d6815b0c1aeb2e7b346 (diff)
oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dumpchan.c')
-rwxr-xr-xapps/app_dumpchan.c10
1 files changed, 7 insertions, 3 deletions
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([<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 @@ 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)