summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-12-07 16:11:05 +0000
committerJason Parker <jparker@digium.com>2007-12-07 16:11:05 +0000
commit02ea9face7d5bef3fa1c4bb14a3a2147c5f3b737 (patch)
treea4fa144f2008bf16fa24587b437b590a946b4b54 /include
parent00297c91e52d468e7c778886982290a310a4ebe3 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/pbx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 3568e7ec4..1082c74b2 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -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