mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-09 03:45:27 +00:00
Move compatibility options into asterisk.conf, default them to on for upgrades,
and off for new installations. This includes the translation from pipes to commas for pbx_realtime and the EXEC command for AGI, as well as the change to the Set application not to support multiple variables at once. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -112,6 +112,18 @@ enum ast_option_flags {
|
||||
|
||||
extern struct ast_flags ast_options;
|
||||
|
||||
enum ast_compat_flags {
|
||||
AST_COMPAT_DELIM_PBX_REALTIME = (1 << 0),
|
||||
AST_COMPAT_DELIM_RES_AGI = (1 << 1),
|
||||
AST_COMPAT_APP_SET = (1 << 2),
|
||||
};
|
||||
|
||||
#define ast_compat_pbx_realtime ast_test_flag(&ast_compat, AST_COMPAT_DELIM_PBX_REALTIME)
|
||||
#define ast_compat_res_agi ast_test_flag(&ast_compat, AST_COMPAT_DELIM_RES_AGI)
|
||||
#define ast_compat_app_set ast_test_flag(&ast_compat, AST_COMPAT_APP_SET)
|
||||
|
||||
extern struct ast_flags ast_compat;
|
||||
|
||||
extern int option_verbose;
|
||||
extern int option_maxfiles; /*!< Max number of open file handles (files, sockets) */
|
||||
extern int option_debug; /*!< Debugging */
|
||||
|
||||
Reference in New Issue
Block a user