Add count of total number of calls processed by asterisk during it's lifetime.

Add number of total calls and current calls to SNMP.

Closes issue #10057, patch by jcmoore.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-12-07 16:11:05 +00:00
parent 00297c91e5
commit 02ea9face7
5 changed files with 105 additions and 3 deletions

View File

@@ -892,6 +892,11 @@ int __ast_custom_function_register(struct ast_custom_function *acf, struct ast_m
* \brief Retrieve the number of active calls
*/
int ast_active_calls(void);
/*!
* \brief Retrieve the total number of calls processed through the PBX since last restart
*/
int ast_processed_calls(void);
/*!
* \brief executes a read operation on a function