mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
manager.c: Add Processed Call Count to CoreStatus output
This update adds the processed call count to the CoreStatus AMI Action responsie. This output is
similar to the values returned by "core show channels" or "core show calls" in the CLI.
UserNote: The current processed call count is now returned as CoreProcessedCalls from the
CoreStatus AMI Action.
(cherry picked from commit 0c193b725b
)
This commit is contained in:
committed by
Asterisk Development Team
parent
6b194cbbe3
commit
2d4460ad4d
@@ -6453,13 +6453,15 @@ static int action_corestatus(struct mansession *s, const struct message *m)
|
|||||||
"CoreReloadDate: %s\r\n"
|
"CoreReloadDate: %s\r\n"
|
||||||
"CoreReloadTime: %s\r\n"
|
"CoreReloadTime: %s\r\n"
|
||||||
"CoreCurrentCalls: %d\r\n"
|
"CoreCurrentCalls: %d\r\n"
|
||||||
|
"CoreProcessedCalls: %d\r\n"
|
||||||
"\r\n",
|
"\r\n",
|
||||||
idText,
|
idText,
|
||||||
startupdate,
|
startupdate,
|
||||||
startuptime,
|
startuptime,
|
||||||
reloaddate,
|
reloaddate,
|
||||||
reloadtime,
|
reloadtime,
|
||||||
ast_active_channels()
|
ast_active_channels(),
|
||||||
|
ast_processed_calls()
|
||||||
);
|
);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user