If the FreeSwitch context is unset or "public", then accept any context.

This restores the "out of the box" functionality.
arthursv
Melanie 2009-08-04 00:43:49 +01:00
parent fa20a2685b
commit 1f90d2a2c6
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
response["content_type"] = "text/xml";
response["keepalive"] = false;
response["int_response_code"] = 200;
if (Context != requestcontext)
if (Context != requestcontext && Context != "public")
{
m_log.DebugFormat("[FreeSwitchDirectory] returning empty as it's for context {0} and we are using {1}", requestcontext, Context);
response["str_response_string"] = "";