aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2009-08-04 00:43:49 +0100
committerMelanie2009-08-04 00:43:49 +0100
commit1f90d2a2c6872ff1c6349f86b68de79b17b9de36 (patch)
treef9e801c96c7cb82f05f38c45e5fa7ae3117b7d7b /OpenSim
parentOutput the Freeswitch context received and the context set up in the (diff)
downloadopensim-SC_OLD-1f90d2a2c6872ff1c6349f86b68de79b17b9de36.zip
opensim-SC_OLD-1f90d2a2c6872ff1c6349f86b68de79b17b9de36.tar.gz
opensim-SC_OLD-1f90d2a2c6872ff1c6349f86b68de79b17b9de36.tar.bz2
opensim-SC_OLD-1f90d2a2c6872ff1c6349f86b68de79b17b9de36.tar.xz
If the FreeSwitch context is unset or "public", then accept any context.
This restores the "out of the box" functionality.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs
index 703c1e7..94f29ea 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
54 response["content_type"] = "text/xml"; 54 response["content_type"] = "text/xml";
55 response["keepalive"] = false; 55 response["keepalive"] = false;
56 response["int_response_code"] = 200; 56 response["int_response_code"] = 200;
57 if (Context != requestcontext) 57 if (Context != requestcontext && Context != "public")
58 { 58 {
59 m_log.DebugFormat("[FreeSwitchDirectory] returning empty as it's for context {0} and we are using {1}", requestcontext, Context); 59 m_log.DebugFormat("[FreeSwitchDirectory] returning empty as it's for context {0} and we are using {1}", requestcontext, Context);
60 response["str_response_string"] = ""; 60 response["str_response_string"] = "";