aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-06 04:48:34 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-06 04:48:34 +0000
commit77e6c046554ed00cf54f9cc6b9f9eaabc756dabe (patch)
tree39370f6bd32cf075787c1a938016beeb26daa333 /apps/app_dumpchan.c
parentf0d0a6e0aa9982f0aa507a823d58af51816d06eb (diff)
oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4166 f38db490-d61c-443f-a65b-d21fe96a405b
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)