diff options
author | Melanie | 2009-08-04 00:43:49 +0100 |
---|---|---|
committer | Melanie | 2009-08-04 00:43:49 +0100 |
commit | 1f90d2a2c6872ff1c6349f86b68de79b17b9de36 (patch) | |
tree | f9e801c96c7cb82f05f38c45e5fa7ae3117b7d7b /OpenSim/Region/OptionalModules | |
parent | Output the Freeswitch context received and the context set up in the (diff) | |
download | opensim-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/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchDialplan.cs | 2 |
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"] = ""; |