diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-18 01:49:13 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-18 01:49:13 +0000 |
commit | e2c8bb9c440289d09415aa7464bdfa921b91f426 (patch) | |
tree | d354c66fada464fed80154e7002ee445c4d36d52 /include | |
parent | 6c8c36cb1296babe111fc188cf94358137df932d (diff) |
Add optional call limit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5712 f38db490-d61c-443f-a65b-d21fe96a405b
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 */ /*! |