aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
index 469ac2f..5c562ac 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
@@ -170,31 +170,31 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
170 // - signout: viv_signout.php 170 // - signout: viv_signout.php
171 if (UseProxy) 171 if (UseProxy)
172 { 172 {
173 scene.CommsManager.HttpServer.AddHTTPHandler(String.Format("{0}/", m_freeSwitchAPIPrefix), 173 MainServer.Instance.AddHTTPHandler(String.Format("{0}/", m_freeSwitchAPIPrefix),
174 ForwardProxyRequest); 174 ForwardProxyRequest);
175 } 175 }
176 else 176 else
177 { 177 {
178 scene.CommsManager.HttpServer.AddHTTPHandler(String.Format("{0}/viv_get_prelogin.php", m_freeSwitchAPIPrefix), 178 MainServer.Instance.AddHTTPHandler(String.Format("{0}/viv_get_prelogin.php", m_freeSwitchAPIPrefix),
179 FreeSwitchSLVoiceGetPreloginHTTPHandler); 179 FreeSwitchSLVoiceGetPreloginHTTPHandler);
180 180
181 // RestStreamHandler h = new 181 // RestStreamHandler h = new
182 // RestStreamHandler("GET", 182 // RestStreamHandler("GET",
183 // String.Format("{0}/viv_get_prelogin.php", m_freeSwitchAPIPrefix), FreeSwitchSLVoiceGetPreloginHTTPHandler); 183 // String.Format("{0}/viv_get_prelogin.php", m_freeSwitchAPIPrefix), FreeSwitchSLVoiceGetPreloginHTTPHandler);
184 // scene.CommsManager.HttpServer.AddStreamHandler(h); 184 // MainServer.Instance.AddStreamHandler(h);
185 185
186 186
187 187
188 scene.CommsManager.HttpServer.AddHTTPHandler(String.Format("{0}/viv_signin.php", m_freeSwitchAPIPrefix), 188 MainServer.Instance.AddHTTPHandler(String.Format("{0}/viv_signin.php", m_freeSwitchAPIPrefix),
189 FreeSwitchSLVoiceSigninHTTPHandler); 189 FreeSwitchSLVoiceSigninHTTPHandler);
190 190
191 // set up http request handlers to provide 191 // set up http request handlers to provide
192 // on-demand FreeSwitch configuration to 192 // on-demand FreeSwitch configuration to
193 // FreeSwitch's mod_curl_xml 193 // FreeSwitch's mod_curl_xml
194 scene.CommsManager.HttpServer.AddHTTPHandler(String.Format("{0}/freeswitch-config", m_freeSwitchAPIPrefix), 194 MainServer.Instance.AddHTTPHandler(String.Format("{0}/freeswitch-config", m_freeSwitchAPIPrefix),
195 FreeSwitchConfigHTTPHandler); 195 FreeSwitchConfigHTTPHandler);
196 196
197 scene.CommsManager.HttpServer.AddHTTPHandler(String.Format("{0}/viv_buddy.php", m_freeSwitchAPIPrefix), 197 MainServer.Instance.AddHTTPHandler(String.Format("{0}/viv_buddy.php", m_freeSwitchAPIPrefix),
198 FreeSwitchSLVoiceBuddyHTTPHandler); 198 FreeSwitchSLVoiceBuddyHTTPHandler);
199 } 199 }
200 200