]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add more hint info to conference xml open
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 26 Jan 2007 15:58:35 +0000 (15:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 26 Jan 2007 15:58:35 +0000 (15:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4059 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index b6ef30fa6d52b4caaf9a3a3901a03a6c7cd57542..bbf5b23d524a983b3ef89a388608719c273914e2 100644 (file)
@@ -2966,7 +2966,7 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc
                 } else {
                     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  */
                 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);
@@ -3525,7 +3525,7 @@ static void conference_function(switch_core_session_t *session, char *data)
         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 */
     if (!(cxml = switch_xml_open_cfg(global_cf_name, &cfg, params))) {