aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs62
1 files changed, 31 insertions, 31 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
index fd384e4..c131a7f 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
@@ -303,36 +303,36 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
303 return response; 303 return response;
304 } 304 }
305 305
306 private Hashtable HandleLoadNetworkLists(Hashtable request) 306// private Hashtable HandleLoadNetworkLists(Hashtable request)
307 { 307// {
308 m_log.Info("[FreeSwitchDirectory] HandleLoadNetworkLists called"); 308// m_log.Info("[FreeSwitchDirectory] HandleLoadNetworkLists called");
309 309//
310 // TODO the password we return needs to match that sent in the request, this is hard coded for now 310// // TODO the password we return needs to match that sent in the request, this is hard coded for now
311 string domain = (string) request["domain"]; 311// string domain = (string) request["domain"];
312 312//
313 Hashtable response = new Hashtable(); 313// Hashtable response = new Hashtable();
314 response["content_type"] = "text/xml"; 314// response["content_type"] = "text/xml";
315 response["keepalive"] = false; 315// response["keepalive"] = false;
316 response["int_response_code"] = 200; 316// response["int_response_code"] = 200;
317 response["str_response_string"] = String.Format( 317// response["str_response_string"] = String.Format(
318 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" + 318// "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
319 "<document type=\"freeswitch/xml\">\r\n" + 319// "<document type=\"freeswitch/xml\">\r\n" +
320 "<section name=\"directory\" description=\"User Directory\">\r\n" + 320// "<section name=\"directory\" description=\"User Directory\">\r\n" +
321 "<domain name=\"{0}\">\r\n" + 321// "<domain name=\"{0}\">\r\n" +
322 "<params>\r\n" + 322// "<params>\r\n" +
323 "<param name=\"dial-string\" value=\"{{presence_id=${{dialed_user}}@${{dialed_domain}}}}${{sofia_contact(${{dialed_user}}@${{dialed_domain}})}}\"/>\r\n" + 323// "<param name=\"dial-string\" value=\"{{presence_id=${{dialed_user}}@${{dialed_domain}}}}${{sofia_contact(${{dialed_user}}@${{dialed_domain}})}}\"/>\r\n" +
324 "</params>\r\n" + 324// "</params>\r\n" +
325 "<groups name=\"default\"><users/></groups>\r\n" + 325// "<groups name=\"default\"><users/></groups>\r\n" +
326 "<variables>\r\n"+ 326// "<variables>\r\n"+
327 "<variable name=\"default_gateway\" value=\"$${{default_provider}}\"/>\r\n"+ 327// "<variable name=\"default_gateway\" value=\"$${{default_provider}}\"/>\r\n"+
328 "</variables>\r\n"+ 328// "</variables>\r\n"+
329 "</domain>\r\n" + 329// "</domain>\r\n" +
330 "</section>\r\n" + 330// "</section>\r\n" +
331 "</document>\r\n", 331// "</document>\r\n",
332 domain); 332// domain);
333 333//
334 334//
335 return response; 335// return response;
336 } 336// }
337 } 337 }
338} 338}