@ -87,7 +87,7 @@ long option_minmemfree;
# endif
# endif
int ast_option_rtpusedynamic = 1 ;
int ast_option_rtpusedynamic = 1 ;
unsigned int ast_option_rtpptdynamic = 35 ;
unsigned int ast_option_rtpptdynamic = 35 ;
int ast_option_disable_remote_console_shell = 0 ;
/*! @} */
/*! @} */
struct ast_eid ast_eid_default ;
struct ast_eid ast_eid_default ;
@ -223,6 +223,7 @@ void load_asterisk_conf(void)
int option_trace_new = 0 ;
int option_trace_new = 0 ;
int option_verbose_new = 0 ;
int option_verbose_new = 0 ;
/* init with buildtime config */
/* init with buildtime config */
# ifdef REF_DEBUG
# ifdef REF_DEBUG
/* The REF_DEBUG compiler flag is now only used to enable refdebug by default.
/* The REF_DEBUG compiler flag is now only used to enable refdebug by default.
@ -474,6 +475,8 @@ void load_asterisk_conf(void)
ast_set2_flag ( & ast_options , ast_true ( v - > value ) , AST_OPT_FLAG_HIDE_MESSAGING_AMI_EVENTS ) ;
ast_set2_flag ( & ast_options , ast_true ( v - > value ) , AST_OPT_FLAG_HIDE_MESSAGING_AMI_EVENTS ) ;
} else if ( ! strcasecmp ( v - > name , " sounds_search_custom_dir " ) ) {
} else if ( ! strcasecmp ( v - > name , " sounds_search_custom_dir " ) ) {
ast_set2_flag ( & ast_options , ast_true ( v - > value ) , AST_OPT_FLAG_SOUNDS_SEARCH_CUSTOM ) ;
ast_set2_flag ( & ast_options , ast_true ( v - > value ) , AST_OPT_FLAG_SOUNDS_SEARCH_CUSTOM ) ;
} else if ( ! strcasecmp ( v - > name , " disable_remote_console_shell " ) ) {
ast_option_disable_remote_console_shell = ast_true ( v - > value ) ;
}
}
}
}
if ( ! ast_opt_remote ) {
if ( ! ast_opt_remote ) {