aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_directory.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-11 15:52:55 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-11 15:52:55 +0000
commit6278fdcd82adba9816fe09dc35cfebde6e1860ad (patch)
tree84e7fd7755c9850db10286f5b0a858fa900d2637 /apps/app_directory.c
parentd5e7b740ec39d822004cb5901e868c1a42a3034d (diff)
update the descriptions of a couple more apps
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7073 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_directory.c')
-rwxr-xr-xapps/app_directory.c28
1 files changed, 17 insertions, 11 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index 3e4472f7c..dc1181b6d 100755
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -47,17 +47,23 @@ static char *app = "Directory";
static char *synopsis = "Provide directory of voicemail extensions";
static char *descrip =
-" Directory(vm-context[|dial-context[|options]]): Presents the user with a directory\n"
-"of extensions from which they may select by name. The list of names \n"
-"and extensions are retrieved from voicemail.conf. The vm-context argument\n"
-"is required, and specifies the context of voicemail.conf to use. The\n"
-"dial-context is the context to use for dialing the users, and defaults to\n"
-"the vm-context if unspecified. The 'f' option causes the directory to match\n"
-"based on the first name in voicemail.conf instead of the last name.\n"
-"The query should yield a contact unless the caller disconnects.\n"
-"It also sets up the channel on exit to enter the extension the user selected.\n" "If the user enters '0' and there exists an extension 'o' in the current \n"" context, the directory will contact the extension associated with 'o'\n"
-"and call control will resume at that extension. Entering '*' will exit similarly,\n"
-"but to the 'a' extension, much like app_voicemail's behavior.\n";
+" Directory(vm-context[|dial-context[|options]]): This application will present\n"
+"the calling channel with a directory of extensions from which they can search\n"
+"by name. The list of names and corresponding extensions is retrieved from the\n"
+"voicemail configuration file, voicemail.conf.\n"
+" This applicaiton will immediate exit if one of the following DTMF digits are\n"
+"received and the extension to jump to exists:\n"
+" 0 - Jump to the 'o' extension, if it exists.\n"
+" * - Jump to the 'a' extension, if it exists.\n\n"
+" Parameters:\n"
+" vm-context - This is the context within voicemail.conf to use for the\n"
+" Directory.\n"
+" dial-context - This is the dialplan context to use when looking for an\n"
+" extension that the user has selected, or when jumping to the\n"
+" 'o' or 'a' extension.\n\n"
+" Options:\n"
+" f - Allow the caller to enter the first name of a user in the directory\n"
+" instead of using the last name.\n";
/* For simplicity, I'm keeping the format compatible with the voicemail config,
but i'm open to suggestions for isolating it */