summaryrefslogtreecommitdiff
path: root/main/manager.c
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-08-05 14:35:00 +0000
committerDavid M. Lee <dlee@digium.com>2013-08-05 14:35:00 +0000
commit357b275239d2e461cd2a3dbaf4d091932824abd4 (patch)
tree05e5ad41026a3aebbf79921382c36379eb143382 /main/manager.c
parent2977846f0ab80df788e8d4729d96e560368faaa2 (diff)
Fix res_ari_asterisk load issue
The new res_ari_asterisk.so module presents several config options from asterisk main. Unfortunately, they aren't exported, so the module won't load on Linux. This patch renames the variables, adding the ast_ prefix so they will be exported. Review: https://reviewboard.asterisk.org/r/2737 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/manager.c b/main/manager.c
index 19f1e94c2..a17646f0d 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -5212,11 +5212,11 @@ static int action_coresettings(struct mansession *s, const struct message *m)
AMI_VERSION,
ast_get_version(),
ast_config_AST_SYSTEM_NAME,
- option_maxcalls,
- option_maxload,
+ ast_option_maxcalls,
+ ast_option_maxload,
ast_config_AST_RUN_USER,
ast_config_AST_RUN_GROUP,
- option_maxfiles,
+ ast_option_maxfiles,
AST_CLI_YESNO(ast_realtime_enabled()),
AST_CLI_YESNO(ast_cdr_is_enabled()),
AST_CLI_YESNO(check_webmanager_enabled())