提交 c4844985 authored 作者: Anthony Minessale's avatar Anthony Minessale

add more hint info to conference xml open

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4059 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a4e967a0
...@@ -2966,7 +2966,7 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc ...@@ -2966,7 +2966,7 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc
} else { } else {
profile_name = "default"; profile_name = "default";
} }
params = switch_mprintf("conf_name=%s&profile_name=%s"); params = switch_mprintf("conf_name=%s&profile_name=%s", conf_name, profile_name);
/* Open the config from the xml registry */ /* Open the config from the xml registry */
if (!(cxml = switch_xml_open_cfg(global_cf_name, &cfg, params))) { if (!(cxml = switch_xml_open_cfg(global_cf_name, &cfg, params))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", global_cf_name); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", global_cf_name);
...@@ -3525,7 +3525,7 @@ static void conference_function(switch_core_session_t *session, char *data) ...@@ -3525,7 +3525,7 @@ static void conference_function(switch_core_session_t *session, char *data)
profile_name = "default"; profile_name = "default";
} }
params = switch_mprintf("conf_name=%s&profile_name=%s"); params = switch_mprintf("conf_name=%s&profile_name=%s", conf_name, profile_name);
/* Open the config from the xml registry */ /* Open the config from the xml registry */
if (!(cxml = switch_xml_open_cfg(global_cf_name, &cfg, params))) { if (!(cxml = switch_xml_open_cfg(global_cf_name, &cfg, params))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论