From: Tilghman Lesher Date: Wed, 30 Jan 2008 16:54:20 +0000 (+0000) Subject: Make the VoicemailUsersList AMI command consistent with other manager list functions. X-Git-Tag: 1.6.0-beta3~2^2~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9a551f30c665033cd3ddb820d80bbaef4e2c83;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index ad1f0a23ac..27146eecb0 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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];