From a7174cecdd1724e8c8fa2f24355cb4ef380d5bf7 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 21 Nov 2010 22:45:04 +0000 Subject: [PATCH] Remove username and password from the publicly accessible FS config --- OpenSim/Services/FreeswitchService/FreeswitchService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OpenSim/Services/FreeswitchService/FreeswitchService.cs b/OpenSim/Services/FreeswitchService/FreeswitchService.cs index 21518f320d..fe6f5cd503 100644 --- a/OpenSim/Services/FreeswitchService/FreeswitchService.cs +++ b/OpenSim/Services/FreeswitchService/FreeswitchService.cs @@ -388,7 +388,7 @@ namespace OpenSim.Services.FreeswitchService public string GetJsonConfig() { - OSDMap map = new OSDMap(11); + OSDMap map = new OSDMap(9); map.Add("Realm", m_freeSwitchRealm); map.Add("SIPProxy", m_freeSwitchSIPProxy); @@ -398,8 +398,6 @@ namespace OpenSim.Services.FreeswitchService map.Add("DefaultWellKnownIP", m_freeSwitchDefaultWellKnownIP); map.Add("DefaultTimeout", m_freeSwitchDefaultTimeout); map.Add("Context", m_freeSwitchContext); - map.Add("ServerUser", m_freeSwitchServerUser); - map.Add("ServerPass", m_freeSwitchServerPass); map.Add("APIPrefix", m_freeSwitchAPIPrefix); return OSDParser.SerializeJsonString(map);