From 199984cbea45478e850cce39bff8fbec1695ea75 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 12 Jul 2009 01:04:32 +0000 Subject: * Added some noisy debug information to VivoxModule to try debug why GetChannel fails on LBSA/Zaius Plaza. --- .../Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs index 773edc0..5070ecc 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Voice/VivoxVoice/VivoxVoiceModule.cs @@ -739,8 +739,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice lock (vlock) { - if (!VivoxTryGetChannel(parentId, landUUID, out channelId, out channelUri) && - !VivoxTryCreateChannel(parentId, landUUID, landName, out channelUri)) + // Added by Adam to help debug channel not availible errors. + if (VivoxTryGetChannel(parentId, landUUID, out channelId, out channelUri)) + m_log.DebugFormat("[VivoxVoice] Found existing channel at " + channelUri); + else if (VivoxTryCreateChannel(parentId, landUUID, landName, out channelUri)) + m_log.DebugFormat("[VivoxVoice] Created new channel at " + channelUri); + else throw new Exception("vivox channel uri not available"); m_log.DebugFormat("[VivoxVoice]: Region:Parcel \"{0}\": parent channel id {1}: retrieved parcel channel_uri {2} ", @@ -956,6 +960,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice channelId = String.Empty; channelUri = String.Empty; + + m_log.Debug("[VivoxVoice] Could not find channel in XMLRESP: " + resp); + return false; } -- cgit v1.1