diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs index 65c5274..f9dfc0d 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Voice/FreeSwitchVoice/FreeSwitchVoiceModule.cs | |||
@@ -527,7 +527,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice | |||
527 | 527 | ||
528 | if (method == "POST") | 528 | if (method == "POST") |
529 | { | 529 | { |
530 | byte[] contentreq = Encoding.UTF8.GetBytes(body); | 530 | byte[] contentreq = Util.UTF8.GetBytes(body); |
531 | forwardreq.ContentLength = contentreq.Length; | 531 | forwardreq.ContentLength = contentreq.Length; |
532 | Stream reqStream = forwardreq.GetRequestStream(); | 532 | Stream reqStream = forwardreq.GetRequestStream(); |
533 | reqStream.Write(contentreq, 0, contentreq.Length); | 533 | reqStream.Write(contentreq, 0, contentreq.Length); |
@@ -535,7 +535,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice | |||
535 | } | 535 | } |
536 | 536 | ||
537 | HttpWebResponse fwdrsp = (HttpWebResponse)forwardreq.GetResponse(); | 537 | HttpWebResponse fwdrsp = (HttpWebResponse)forwardreq.GetResponse(); |
538 | Encoding encoding = Encoding.UTF8; | 538 | Encoding encoding = Util.UTF8; |
539 | StreamReader fwdresponsestream = new StreamReader(fwdrsp.GetResponseStream(), encoding); | 539 | StreamReader fwdresponsestream = new StreamReader(fwdrsp.GetResponseStream(), encoding); |
540 | fwdresponsestr = fwdresponsestream.ReadToEnd(); | 540 | fwdresponsestr = fwdresponsestream.ReadToEnd(); |
541 | fwdresponsecontenttype = fwdrsp.ContentType; | 541 | fwdresponsecontenttype = fwdrsp.ContentType; |