Switching vivox to https for production use
parent
3dc9b0ef18
commit
5ef490b5ad
|
@ -196,7 +196,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_vivoxVoiceAccountApi = String.Format("http://{0}/api2", m_vivoxServer);
|
m_vivoxVoiceAccountApi = String.Format("https://{0}/api2", m_vivoxServer);
|
||||||
|
|
||||||
// Admin interface required values
|
// Admin interface required values
|
||||||
if (String.IsNullOrEmpty(m_vivoxServer) ||
|
if (String.IsNullOrEmpty(m_vivoxServer) ||
|
||||||
|
@ -757,7 +757,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxLoginPath = "http://{0}/api2/viv_signin.php?userid={1}&pwd={2}";
|
private static readonly string m_vivoxLoginPath = "https://{0}/api2/viv_signin.php?userid={1}&pwd={2}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Perform administrative login for Vivox.
|
/// Perform administrative login for Vivox.
|
||||||
|
@ -770,7 +770,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxLogoutPath = "http://{0}/api2/viv_signout.php?auth_token={1}";
|
private static readonly string m_vivoxLogoutPath = "https://{0}/api2/viv_signout.php?auth_token={1}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Perform administrative logout for Vivox.
|
/// Perform administrative logout for Vivox.
|
||||||
|
@ -782,7 +782,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxGetAccountPath = "http://{0}/api2/viv_get_acct.php?auth_token={1}&user_name={2}";
|
private static readonly string m_vivoxGetAccountPath = "https://{0}/api2/viv_get_acct.php?auth_token={1}&user_name={2}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieve account information for the specified user.
|
/// Retrieve account information for the specified user.
|
||||||
|
@ -795,7 +795,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxNewAccountPath = "http://{0}/api2/viv_adm_acct_new.php?username={1}&pwd={2}&auth_token={3}";
|
private static readonly string m_vivoxNewAccountPath = "https://{0}/api2/viv_adm_acct_new.php?username={1}&pwd={2}&auth_token={3}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new account.
|
/// Creates a new account.
|
||||||
|
@ -810,7 +810,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxPasswordPath = "http://{0}/api2/viv_adm_password.php?user_name={1}&new_pwd={2}&auth_token={3}";
|
private static readonly string m_vivoxPasswordPath = "https://{0}/api2/viv_adm_password.php?user_name={1}&new_pwd={2}&auth_token={3}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Change the user's password.
|
/// Change the user's password.
|
||||||
|
@ -822,7 +822,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static readonly string m_vivoxChannelPath = "http://{0}/api2/viv_chan_mod.php?mode={1}&chan_name={2}&auth_token={3}";
|
private static readonly string m_vivoxChannelPath = "https://{0}/api2/viv_chan_mod.php?mode={1}&chan_name={2}&auth_token={3}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Create a channel.
|
/// Create a channel.
|
||||||
|
@ -896,7 +896,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static readonly string m_vivoxChannelSearchPath = "http://{0}/api2/viv_chan_search.php?cond_channame={1}&auth_token={2}";
|
private static readonly string m_vivoxChannelSearchPath = "https://{0}/api2/viv_chan_search.php?cond_channame={1}&auth_token={2}";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieve a channel.
|
/// Retrieve a channel.
|
||||||
|
@ -1040,7 +1040,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// private static readonly string m_vivoxChannelById = "http://{0}/api2/viv_chan_mod.php?mode={1}&chan_id={2}&auth_token={3}";
|
// private static readonly string m_vivoxChannelById = "https://{0}/api2/viv_chan_mod.php?mode={1}&chan_id={2}&auth_token={3}";
|
||||||
|
|
||||||
// private XmlElement VivoxGetChannelById(string parent, string channelid)
|
// private XmlElement VivoxGetChannelById(string parent, string channelid)
|
||||||
// {
|
// {
|
||||||
|
@ -1064,7 +1064,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
/// In this case the call handles parent and description as optional values.
|
/// In this case the call handles parent and description as optional values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
private static readonly string m_vivoxChannelDel = "http://{0}/api2/viv_chan_mod.php?mode={1}&chan_id={2}&auth_token={3}";
|
private static readonly string m_vivoxChannelDel = "https://{0}/api2/viv_chan_mod.php?mode={1}&chan_id={2}&auth_token={3}";
|
||||||
|
|
||||||
private XmlElement VivoxDeleteChannel(string parent, string channelid)
|
private XmlElement VivoxDeleteChannel(string parent, string channelid)
|
||||||
{
|
{
|
||||||
|
@ -1080,7 +1080,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||||
/// Return information on channels in the given directory
|
/// Return information on channels in the given directory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
private static readonly string m_vivoxChannelSearch = "http://{0}/api2/viv_chan_search.php?&cond_chanparent={1}&auth_token={2}";
|
private static readonly string m_vivoxChannelSearch = "https://{0}/api2/viv_chan_search.php?&cond_chanparent={1}&auth_token={2}";
|
||||||
|
|
||||||
private XmlElement VivoxListChildren(string channelid)
|
private XmlElement VivoxListChildren(string channelid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue