(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: http://svn.digium.com/svn/asterisk/trunk@81391 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
f925e7cf1b
commit
bc03ef5a30
|
@ -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