Apply defaults to ari.conf's general section

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David M. Lee
2013-07-11 13:56:26 +00:00
parent d3939686cd
commit fb09d5bc60

View File

@@ -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);