[asterisk-commits] oej: trunk r66295 - /trunk/apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon May 28 11:50:19 MST 2007
Author: oej
Date: Mon May 28 13:50:18 2007
New Revision: 66295
URL: http://svn.digium.com/view/asterisk?view=rev&rev=66295
Log:
- Don't re-invent existing headers (some already existed in chan_sip)
- Rename command so taht module name comes first
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=66295&r1=66294&r2=66295
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon May 28 13:50:18 2007
@@ -7505,6 +7505,7 @@
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 @@
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 @@
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 @@
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;
More information about the asterisk-commits
mailing list