aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTeravus Ovares2009-04-23 06:31:32 +0000
committerTeravus Ovares2009-04-23 06:31:32 +0000
commit77bd7da9ccce7d572c7565b8fdda8e6711ca2643 (patch)
tree11e768a6876913812af3c7a0d298ed6729e1ebcf /OpenSim/Region
parent* Tweaking the dialstring so the sip_contact_user variable is set to the dial... (diff)
downloadopensim-SC_OLD-77bd7da9ccce7d572c7565b8fdda8e6711ca2643.zip
opensim-SC_OLD-77bd7da9ccce7d572c7565b8fdda8e6711ca2643.tar.gz
opensim-SC_OLD-77bd7da9ccce7d572c7565b8fdda8e6711ca2643.tar.bz2
opensim-SC_OLD-77bd7da9ccce7d572c7565b8fdda8e6711ca2643.tar.xz
* Fix another crash bug in the FreeSwitchVoiceModule
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs2
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
index 11797f6..377a824 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDirectory.cs
@@ -95,6 +95,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
95 { 95 {
96 m_log.ErrorFormat("[FreeSwitchVoice] HandleDirectoryRequest unknown sip_auth_method {0}",sipAuthMethod); 96 m_log.ErrorFormat("[FreeSwitchVoice] HandleDirectoryRequest unknown sip_auth_method {0}",sipAuthMethod);
97 response["int_response_code"] = 404; 97 response["int_response_code"] = 404;
98 response["content_type"] = "text/xml";
99 response["str_response_string"] = "";
98 } 100 }
99 } 101 }
100 else if (eventCallingFunction == "switch_xml_locate_user") 102 else if (eventCallingFunction == "switch_xml_locate_user")
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
index 58f1b3a..abe7594 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
@@ -492,7 +492,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
492 m_log.DebugFormat("[FreeSwitchVoice] FreeSwitchConfigHTTPHandler called with {0}", (string)request["body"]); 492 m_log.DebugFormat("[FreeSwitchVoice] FreeSwitchConfigHTTPHandler called with {0}", (string)request["body"]);
493 493
494 Hashtable response = new Hashtable(); 494 Hashtable response = new Hashtable();
495 495 response["str_response_string"] = string.Empty;
496 // all the params come as NVPs in the request body 496 // all the params come as NVPs in the request body
497 Hashtable requestBody = parseRequestBody((string) request["body"]); 497 Hashtable requestBody = parseRequestBody((string) request["body"]);
498 498