summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-05-28 18:50:18 +0000
committerOlle Johansson <oej@edvina.net>2007-05-28 18:50:18 +0000
commit432c8654f530af81ad09a12f42bb5afb27395c9a (patch)
treed336a3e294a5a8a5f7a087c365b689691e623e95 /apps/app_voicemail.c
parentb6b254b7330733fd02dbeb6c1df53617080494e5 (diff)
- Don't re-invent existing headers (some already existed in chan_sip)
- Rename command so taht module name comes first git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 92b620040..0e4877c6c 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -7505,6 +7505,7 @@ static void stop_poll_thread(void)
poll_thread = AST_PTHREADT_NULL;
}
+/*! \brief Manager list voicemail users command */
static int manager_list_voicemail_users(struct mansession *s, const struct message *m)
{
struct ast_vm_user *vmu = NULL;
@@ -7531,15 +7532,15 @@ static int manager_list_voicemail_users(struct mansession *s, const struct messa
astman_append(s,
"%s"
"Event: VoicemailUserEntry\r\n"
- "Context: %s\r\n"
- "Mailbox: %s\r\n"
+ "VMContext: %s\r\n"
+ "VoiceMailbox: %s\r\n"
"Fullname: %s\r\n"
"Email: %s\r\n"
"Pager: %s\r\n"
"ServerEmail: %s\r\n"
"MailCommand: %s\r\n"
"Language: %s\r\n"
- "Zone: %s\r\n"
+ "TimeZone: %s\r\n"
"Callback: %s\r\n"
"Dialout: %s\r\n"
"UniqueID: %s\r\n"
@@ -8155,7 +8156,7 @@ static int unload_module(void)
res |= ast_unregister_application(app3);
res |= ast_unregister_application(app4);
res |= ast_custom_function_unregister(&mailbox_exists_acf);
- res |= ast_manager_unregister("ListAllVoicemailUsers");
+ res |= ast_manager_unregister("VoicemailUsersList");
ast_cli_unregister_multiple(cli_voicemail, sizeof(cli_voicemail) / sizeof(struct ast_cli_entry));
ast_uninstall_vm_functions();
@@ -8182,7 +8183,7 @@ static int load_module(void)
res |= ast_register_application(app3, vm_box_exists, synopsis_vm_box_exists, descrip_vm_box_exists);
res |= ast_register_application(app4, vmauthenticate, synopsis_vmauthenticate, descrip_vmauthenticate);
res |= ast_custom_function_register(&mailbox_exists_acf);
- res |= ast_manager_register("ListAllVoicemailUsers", EVENT_FLAG_CALL, manager_list_voicemail_users, "List All Voicemail User Information");
+ res |= ast_manager_register("VoicemailUsersList", EVENT_FLAG_CALL, manager_list_voicemail_users, "List All Voicemail User Information");
if (res)
return res;