[asterisk-commits] tilghman: trunk r101269 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 30 10:54:20 CST 2008


Author: tilghman
Date: Wed Jan 30 10:54:20 2008
New Revision: 101269

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101269
Log:
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)

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=101269&r1=101268&r2=101269
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed Jan 30 10:54:20 2008
@@ -8040,10 +8040,11 @@
 	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];




More information about the asterisk-commits mailing list