mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
application doc update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -55,8 +55,8 @@ static char *synopsis2 = "Try executing a system command";
|
||||
static char *chanvar = "SYSTEMSTATUS";
|
||||
|
||||
static char *descrip =
|
||||
" System(command): Executes a command by using system(). Returns -1 on\n"
|
||||
"failure to execute the specified command. \n"
|
||||
" System(command): Executes a command by using system(). If the command\n"
|
||||
"fails, the console should report a fallthrough. \n"
|
||||
"Result of execution is returned in the SYSTEMSTATUS channel variable:\n"
|
||||
" FAILURE Could not execute the specified command\n"
|
||||
" SUCCESS Specified command successfully executed\n"
|
||||
@@ -66,11 +66,10 @@ static char *descrip =
|
||||
"a priority n + 101, where 'n' is the priority of the current instance,\n"
|
||||
"then the channel will be setup to continue at that priority level.\n"
|
||||
"Note that this jump functionality has been deprecated and will only occur\n"
|
||||
"if the global priority jumping option is enabled in extensions.conf.\n"
|
||||
" Otherwise, System returns 0.\n";
|
||||
"if the global priority jumping option is enabled in extensions.conf.\n";
|
||||
|
||||
static char *descrip2 =
|
||||
" TrySystem(command): Executes a command by using system(). Returns 0\n"
|
||||
" TrySystem(command): Executes a command by using system().\n"
|
||||
"on any situation.\n"
|
||||
"Result of execution is returned in the SYSTEMSTATUS channel variable:\n"
|
||||
" FAILURE Could not execute the specified command\n"
|
||||
@@ -80,7 +79,7 @@ static char *descrip2 =
|
||||
"Old behaviour:\nIf the command itself executes but is in error, and if\n"
|
||||
"there exists a priority n + 101, where 'n' is the priority of the current\n"
|
||||
"instance, then the channel will be setup to continue at that\n"
|
||||
"priority level. Otherwise, System returns 0.\n";
|
||||
"priority level. Otherwise, System will terminate.\n";
|
||||
|
||||
STANDARD_LOCAL_USER;
|
||||
|
||||
|
Reference in New Issue
Block a user