* minor: remove some compiler warnings

0.6.5-rc1
Justin Clarke Casey 2009-04-22 19:43:58 +00:00
parent 0f08f4cc4b
commit c25ceb009e
3 changed files with 39 additions and 39 deletions

View File

@ -12,21 +12,21 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
{
class VWHClientView : IClientAPI
{
private Scene m_scene;
// private Scene m_scene;
public void ProcessInMsg(OSHttpRequest req, OSHttpResponse resp)
{
string method = req.Url.AbsolutePath.Split('/')[2];
// string method = req.Url.AbsolutePath.Split('/')[2];
}
private void ProcessAssetRequest(OSHttpRequest req, OSHttpResponse resp)
{
}
// private void ProcessAssetRequest(OSHttpRequest req, OSHttpResponse resp)
// {
//
// }
public VWHClientView(UUID sessionID, UUID agentID, string agentName, Scene scene)
{
m_scene = scene;
// m_scene = scene;
}
#region Implementation of IClientAPI

View File

@ -18,7 +18,7 @@ namespace OpenSim.Client.VWoHTTP
private readonly List<Scene> m_scenes = new List<Scene>();
private Dictionary<UUID, VWHClientView> m_clients = new Dictionary<UUID, VWHClientView>();
//private Dictionary<UUID, VWHClientView> m_clients = new Dictionary<UUID, VWHClientView>();
#region Implementation of IRegionModule

View File

@ -303,36 +303,36 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
return response;
}
private Hashtable HandleLoadNetworkLists(Hashtable request)
{
m_log.Info("[FreeSwitchDirectory] HandleLoadNetworkLists called");
// TODO the password we return needs to match that sent in the request, this is hard coded for now
string domain = (string) request["domain"];
Hashtable response = new Hashtable();
response["content_type"] = "text/xml";
response["keepalive"] = false;
response["int_response_code"] = 200;
response["str_response_string"] = String.Format(
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
"<document type=\"freeswitch/xml\">\r\n" +
"<section name=\"directory\" description=\"User Directory\">\r\n" +
"<domain name=\"{0}\">\r\n" +
"<params>\r\n" +
"<param name=\"dial-string\" value=\"{{presence_id=${{dialed_user}}@${{dialed_domain}}}}${{sofia_contact(${{dialed_user}}@${{dialed_domain}})}}\"/>\r\n" +
"</params>\r\n" +
"<groups name=\"default\"><users/></groups>\r\n" +
"<variables>\r\n"+
"<variable name=\"default_gateway\" value=\"$${{default_provider}}\"/>\r\n"+
"</variables>\r\n"+
"</domain>\r\n" +
"</section>\r\n" +
"</document>\r\n",
domain);
return response;
}
// private Hashtable HandleLoadNetworkLists(Hashtable request)
// {
// m_log.Info("[FreeSwitchDirectory] HandleLoadNetworkLists called");
//
// // TODO the password we return needs to match that sent in the request, this is hard coded for now
// string domain = (string) request["domain"];
//
// Hashtable response = new Hashtable();
// response["content_type"] = "text/xml";
// response["keepalive"] = false;
// response["int_response_code"] = 200;
// response["str_response_string"] = String.Format(
// "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n" +
// "<document type=\"freeswitch/xml\">\r\n" +
// "<section name=\"directory\" description=\"User Directory\">\r\n" +
// "<domain name=\"{0}\">\r\n" +
// "<params>\r\n" +
// "<param name=\"dial-string\" value=\"{{presence_id=${{dialed_user}}@${{dialed_domain}}}}${{sofia_contact(${{dialed_user}}@${{dialed_domain}})}}\"/>\r\n" +
// "</params>\r\n" +
// "<groups name=\"default\"><users/></groups>\r\n" +
// "<variables>\r\n"+
// "<variable name=\"default_gateway\" value=\"$${{default_provider}}\"/>\r\n"+
// "</variables>\r\n"+
// "</domain>\r\n" +
// "</section>\r\n" +
// "</document>\r\n",
// domain);
//
//
// return response;
// }
}
}