diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-07 16:11:05 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-07 16:11:05 +0000 |
commit | 20476ae5226b3e4ed4f64bb57d51d7f42eff0ffe (patch) | |
tree | a4fa144f2008bf16fa24587b437b590a946b4b54 /include/asterisk/pbx.h | |
parent | 2db1dbb003cf4f282284b8f40dce046f545fce1e (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: http://svn.digium.com/svn/asterisk/trunk@91779 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 5 |
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 |