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
1.6.0
Tilghman Lesher 19 years ago
parent 94325433a2
commit 0d9a551f30

@ -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];

Loading…
Cancel
Save