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_directory.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_directory.c')
-rwxr-xr-x | apps/app_directory.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index e22a2ccb4..551f61fae 100755 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -28,6 +28,14 @@ static char *tdesc = "Extension Directory"; static char *app = "Directory"; +static char *synopsis = "Provide directory of voicemail extensions"; +static char *descrip = +" Directory(context): Presents the user with a directory of extensions from which\n" +" they may select by name. The list of names and extensions is discovered from\n" +" voicemail.conf. The context argument is required, and specifies the context\n" +" in which to interpret the extensions\n. Returns 0 unless the user hangs up. It\n" +" also sets up the channel on exit to enter the extension the user selected.\n"; + /* For simplicity, I'm keeping the format compatible with the voicemail config, but i'm open to suggestions for isolating it */ @@ -248,7 +256,7 @@ int unload_module(void) int load_module(void) { - return ast_register_application(app, directory_exec); + return ast_register_application(app, directory_exec, synopsis, descrip); } char *description(void) |