summaryrefslogtreecommitdiff
path: root/main/channel.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/channel.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/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 95d0a5dcc..f1d98de12 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -992,7 +992,7 @@ __ast_channel_alloc_ap(int needqueue, int state, const char *cid_num, const char
AST_LIST_HEAD_INIT_NOLOCK(ast_channel_autochans(tmp));
- ast_channel_language_set(tmp, defaultlanguage);
+ ast_channel_language_set(tmp, ast_defaultlanguage);
ast_channel_tech_set(tmp, &null_tech);