diff options
author | David M. Lee <dlee@digium.com> | 2013-07-11 13:56:26 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-07-11 13:56:26 +0000 |
commit | fb09d5bc60aabd133daca8ac7abc49980c10db8d (patch) | |
tree | 2240455fb216ce2aed8ff07af9606e17a5339a57 /res | |
parent | d3939686cdd2f198c5779621d18f0a79a7739976 (diff) |
Apply defaults to ari.conf's general section
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/stasis_http/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/stasis_http/config.c b/res/stasis_http/config.c index f02fabea4..09db01e84 100644 --- a/res/stasis_http/config.c +++ b/res/stasis_http/config.c @@ -187,6 +187,7 @@ static void *conf_alloc(void) if (!cfg->general) { return NULL; } + aco_set_defaults(&general_option, "general", cfg->general); cfg->users = ao2_container_alloc_rbtree(AO2_ALLOC_OPT_LOCK_NOLOCK, AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE, user_sort_cmp, NULL); |