From: Olle Johansson Date: Mon, 28 May 2007 18:50:18 +0000 (+0000) Subject: - Don't re-invent existing headers (some already existed in chan_sip) X-Git-Tag: 1.6.0-beta1~3^2~2565 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432c8654f530af81ad09a12f42bb5afb27395c9a;p=thirdparty%2Fasterisk.git - 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 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 92b6200407..0e4877c6c3 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;