aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-04-23 05:22:02 +0000
committerTeravus Ovares2009-04-23 05:22:02 +0000
commitdc640465a834c3ddb586d6a7850fd1805ea2e48f (patch)
treeb4bb9244a952503686880c0e7f46dc3762ee2ed3 /OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
parent* Adds missing IClientAPI member. (Plz be adding new members to IClientCore!) (diff)
downloadopensim-SC_OLD-dc640465a834c3ddb586d6a7850fd1805ea2e48f.zip
opensim-SC_OLD-dc640465a834c3ddb586d6a7850fd1805ea2e48f.tar.gz
opensim-SC_OLD-dc640465a834c3ddb586d6a7850fd1805ea2e48f.tar.bz2
opensim-SC_OLD-dc640465a834c3ddb586d6a7850fd1805ea2e48f.tar.xz
* Tweaking the dialstring so the sip_contact_user variable is set to the dialed user. This stops the client from complaining and might be useful later. Resolves the 'unable to parse id from mod_sofia@ip:port' message.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
index 358f1cd..58f1b3a 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs
@@ -45,6 +45,7 @@ using OpenSim.Framework.Servers;
45using OpenSim.Region.Framework.Interfaces; 45using OpenSim.Region.Framework.Interfaces;
46using OpenSim.Region.Framework.Scenes; 46using OpenSim.Region.Framework.Scenes;
47using Caps = OpenSim.Framework.Communications.Capabilities.Caps; 47using Caps = OpenSim.Framework.Communications.Capabilities.Caps;
48using System.Text.RegularExpressions;
48 49
49namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice 50namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
50{ 51{
@@ -511,7 +512,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
511 // -> TODO Initialise(): keep track of regions via events 512 // -> TODO Initialise(): keep track of regions via events
512 // re-generate accounts for all avatars 513 // re-generate accounts for all avatars
513 // -> TODO Initialise(): keep track of avatars via events 514 // -> TODO Initialise(): keep track of avatars via events
514 m_log.DebugFormat("[FreeSwitchVoice] FreeSwitchConfigHTTPHandler return {0}",response["str_response_string"]); 515 Regex normalizeEndLines = new Regex(@"\r\n", RegexOptions.Compiled | RegexOptions.Singleline | RegexOptions.Multiline);
516
517 m_log.DebugFormat("[FreeSwitchVoice] FreeSwitchConfigHTTPHandler return {0}",normalizeEndLines.Replace(((string)response["str_response_string"]), ""));
515 return response; 518 return response;
516 } 519 }
517 520