/* Channel description */
static const char type[] = "OOH323";
static const char tdesc[] = "Objective Systems H323 Channel Driver";
-static const char config[] = "ooh323.conf";
+static const char config[] = "chan_ooh323.conf";
+static const char config_old[] = "ooh323.conf";
/* Channel Definition */
if (gH323Debug)
ast_verbose("--- reload_config\n");
- cfg = ast_config_load((char*)config, config_flags);
+ cfg = ast_config_load(config, config_flags);
+ if (!cfg) {
+ cfg = ast_config_load(config_old, config_flags);
+ }
/* We *must* have a config file otherwise stop immediately */
if (!cfg) {