mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 03:59:01 +00:00
(closes issue #10336)
Reported by: junky Patches: minivm_output2.diff uploaded by junky (license 177) Change console output of minivm show stats to be more simple for external parsing. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2659,9 +2659,9 @@ static int handle_minivm_show_stats(int fd, int argc, char *argv[])
|
||||
ast_cli(fd, "* Mini-Voicemail statistics\n");
|
||||
ast_cli(fd, " -------------------------\n");
|
||||
ast_cli(fd, "\n");
|
||||
ast_cli(fd, " Voicemail accounts: %-5.5d\n", global_stats.voicemailaccounts);
|
||||
ast_cli(fd, " Templates: %-5.5d\n", global_stats.templates);
|
||||
ast_cli(fd, " Timezones: %-5.5d\n", global_stats.timezones);
|
||||
ast_cli(fd, " Voicemail accounts: %5d\n", global_stats.voicemailaccounts);
|
||||
ast_cli(fd, " Templates: %5d\n", global_stats.templates);
|
||||
ast_cli(fd, " Timezones: %5d\n", global_stats.timezones);
|
||||
if (global_stats.receivedmessages == 0) {
|
||||
ast_cli(fd, " Received messages since last reset: <none>\n");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user