[Freeswitch-svn] [commit] r2983 - freeswitch/trunk/src/mod/applications/mod_commands

Freeswitch SVN mikej at freeswitch.org
Thu Oct 5 16:49:10 EDT 2006


Author: mikej
Date: Thu Oct  5 16:49:09 2006
New Revision: 2983

Modified:
   freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c

Log:
update usage descriptions.

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Thu Oct  5 16:49:09 2006
@@ -193,7 +193,7 @@
 	argc = switch_separate_string(cmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
 
 	if (argc < 2 || argc > 4) {
-		stream->write_function(stream, "Invalid Parameters\n");
+		stream->write_function(stream, "USAGE: transfer <uuid> <dest-exten> [<dialplan>] [<context>]\n");
 	} else {
 		char *uuid = argv[0];
 		char *dest = argv[1];
@@ -255,7 +255,7 @@
 	argc = switch_separate_string(cmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
 
 	if (argc < 2) {
-		stream->write_function(stream, "Invalid Parameters\n");
+		stream->write_function(stream, "USAGE: pause <uuid> <on|off>\n");
 	} else {
 		char *uuid = argv[0];
 		char *dest = argv[1];



More information about the Freeswitch-svn mailing list