diff options
author | Teravus Ovares | 2009-04-23 05:22:02 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-04-23 05:22:02 +0000 |
commit | dc640465a834c3ddb586d6a7850fd1805ea2e48f (patch) | |
tree | b4bb9244a952503686880c0e7f46dc3762ee2ed3 /OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs | |
parent | * Adds missing IClientAPI member. (Plz be adding new members to IClientCore!) (diff) | |
download | opensim-SC-dc640465a834c3ddb586d6a7850fd1805ea2e48f.zip opensim-SC-dc640465a834c3ddb586d6a7850fd1805ea2e48f.tar.gz opensim-SC-dc640465a834c3ddb586d6a7850fd1805ea2e48f.tar.bz2 opensim-SC-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.cs | 5 |
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; | |||
45 | using OpenSim.Region.Framework.Interfaces; | 45 | using OpenSim.Region.Framework.Interfaces; |
46 | using OpenSim.Region.Framework.Scenes; | 46 | using OpenSim.Region.Framework.Scenes; |
47 | using Caps = OpenSim.Framework.Communications.Capabilities.Caps; | 47 | using Caps = OpenSim.Framework.Communications.Capabilities.Caps; |
48 | using System.Text.RegularExpressions; | ||
48 | 49 | ||
49 | namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice | 50 | namespace 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 | ||