From 38b7f7b4a474cfb9cd79acd09515a84d0e6d746b Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 18 May 2005 01:49:13 +0000 Subject: Add optional call limit git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/options.h | 1 + include/asterisk/pbx.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') 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 */ /*! -- cgit v1.2.3