mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-03 21:46:35 -07:00
Make the VoicemailUsersList AMI command consistent with other manager list functions.
(closes issue #11874) Reported by: srt Patches: voicemail_ami-11847.patch uploaded by srt (license 378) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8040,10 +8040,11 @@ static int manager_list_voicemail_users(struct mansession *s, const struct messa
|
||||
if (AST_LIST_EMPTY(&users)) {
|
||||
astman_send_ack(s, m, "There are no voicemail users currently defined.");
|
||||
AST_LIST_UNLOCK(&users);
|
||||
astman_append(s, "Event: VoicemailUserEntryComplete\r\n%s\r\n", actionid);
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
astman_send_ack(s, m, "Voicemail user list will follow\r\n");
|
||||
astman_send_ack(s, m, "Voicemail user list will follow");
|
||||
|
||||
AST_LIST_TRAVERSE(&users, vmu, list) {
|
||||
char dirname[256];
|
||||
|
||||
Reference in New Issue
Block a user