diff options
author | Mark Spencer <markster@digium.com> | 2005-05-18 01:49:13 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-05-18 01:49:13 +0000 |
commit | 38b7f7b4a474cfb9cd79acd09515a84d0e6d746b (patch) | |
tree | d354c66fada464fed80154e7002ee445c4d36d52 /include | |
parent | 9f9fcca6c0a0c3579f7ef9cd81ec0ffcc748a947 (diff) |
Add optional call limit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/options.h | 1 | ||||
-rwxr-xr-x | include/asterisk/pbx.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 598ea31db..9d962bbe5 100755 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -33,6 +33,7 @@ extern int option_exec_includes; extern int option_cache_record_files; extern int option_timestamp; extern int option_transcode_slin; +extern int option_maxcalls; extern char defaultlanguage[]; extern time_t ast_startuptime; extern time_t ast_lastreloadtime; diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 19331acff..b0f92b60a 100755 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -602,6 +602,9 @@ int ast_async_goto_if_exists(struct ast_channel *chan, char* context, char *exte struct ast_custom_function* ast_custom_function_find(char *name); int ast_custom_function_unregister(struct ast_custom_function *acf); int ast_custom_function_register(struct ast_custom_function *acf); + +/* Number of active calls */ +int ast_active_calls(void); /*! executes a read operation on a function */ /*! |