[Asterisk-cvs] asterisk/channels chan_oss.c,1.56,1.57
markster
markster
Mon Sep 26 20:59:04 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv24159/channels
Modified Files:
chan_oss.c
Log Message:
Fix "console" help (thanks to Andy Dvorak)
Index: chan_oss.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_oss.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- chan_oss.c 14 Sep 2005 20:46:49 -0000 1.56
+++ chan_oss.c 27 Sep 2005 00:55:55 -0000 1.57
@@ -1202,6 +1202,12 @@
" Transfers the currently connected call to the given extension (and\n"
"context if specified)\n";
+static char console_usage[] =
+"Usage: console [device]\n"
+" If used without a parameter, displays which device is the current\n"
+"console. If a device is specified, the console sound device is changed to\n"
+"the device specified.\n";
+
static int console_active(int fd, int argc, char *argv[])
{
if (argc == 1)
@@ -1234,8 +1240,7 @@
{ { "transfer", NULL }, console_transfer, "Transfer a call to a different extension", transfer_usage },
{ { "send", "text", NULL }, console_sendtext, "Send text to the remote device", sendtext_usage },
{ { "autoanswer", NULL }, console_autoanswer, "Sets/displays autoanswer", autoanswer_usage, autoanswer_complete },
- { { "console", NULL }, console_active, "Sets/displays active console",
- "console foo sets foo as the console"}
+ { { "console", NULL }, console_active, "Sets/displays active console", console_usage },
};
/*
More information about the svn-commits
mailing list