diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-10 17:18:04 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-10 17:18:04 +0000 |
commit | 1ab2e9f4be0b381e9c28b476204c0e5b1429c57f (patch) | |
tree | 7f208ce1324151706ea9ca01ce9193a92e080c69 /apps/app_system.c | |
parent | 6612ac7b39c7551a720bf6bce88585626cf7b806 (diff) |
Version 0.1.8 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_system.c')
-rwxr-xr-x | apps/app_system.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/app_system.c b/apps/app_system.c index 9915cbd96..bb10543e2 100755 --- a/apps/app_system.c +++ b/apps/app_system.c @@ -28,6 +28,14 @@ static char *tdesc = "Generic System() application"; static char *app = "System"; +static char *synopsis = "Execute a system command"; + +static char *descrip = +" System(command): Executes a command by using system(). Returns -1 on failure to execute\n" +" the specified command. If the command itself executes but is in error, and if there exists\n" +" a priority n + 101, where 'n' is the priority of the current instance, then the channel will\n" +" will be setup to continue at that priority level. Otherwise, System returns 0.\n"; + STANDARD_LOCAL_USER; LOCAL_USER_DECL; @@ -66,7 +74,7 @@ int unload_module(void) int load_module(void) { - return ast_register_application(app, skel_exec); + return ast_register_application(app, skel_exec, synopsis, descrip); } char *description(void) |