C# Class OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice.FreeSwitchVoiceModule

Inheritance: IRegionModule
Afficher le fichier Open project: openmetaversefoundation/fortis-opensim

Méthodes publiques

Méthode Description
ChatSessionRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string

Callback for a client request for ChatSessionRequest

Close ( ) : void
ForwardProxyRequest ( Hashtable request ) : Hashtable
FreeSwitchConfigHTTPHandler ( Hashtable request ) : Hashtable
FreeSwitchSLVoiceBuddyHTTPHandler ( Hashtable request ) : Hashtable
FreeSwitchSLVoiceGetPreloginHTTPHandler ( Hashtable request ) : Hashtable
FreeSwitchSLVoiceSigninHTTPHandler ( Hashtable request ) : Hashtable
Initialise ( Scene scene, IConfigSource config ) : void
OnRegisterCaps ( Scene scene, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : void

OnRegisterCaps is invoked via the scene.EventManager everytime OpenSim hands out capabilities to a client (login, region crossing). We contribute two capabilities to the set of capabilities handed back to the client: ProvisionVoiceAccountRequest and ParcelVoiceInfoRequest. ProvisionVoiceAccountRequest allows the client to obtain the voice account credentials for the avatar it is controlling (e.g., user name, password, etc). ParcelVoiceInfoRequest is invoked whenever the client changes from one region or parcel to another. Note that OnRegisterCaps is called here via a closure delegate containing the scene of the respective region (see Initialise()).

ParcelVoiceInfoRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string

Callback for a client request for ParcelVoiceInfo

PostInitialise ( ) : void
ProvisionVoiceAccountRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string

Callback for a client request for Voice Account Details

parseRequestBody ( string body ) : Hashtable
setLandSIPAddress ( string SIPAddress, UUID GlobalID ) : void

implementation of IVoiceModule, called by osSetParcelSIPAddress script function

Private Methods

Méthode Description
ChannelUri ( Scene scene, LandData land ) : string
CustomCertificateValidation ( object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error ) : bool

Method Details

ChatSessionRequest() public méthode

Callback for a client request for ChatSessionRequest
public ChatSessionRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string
scene OpenSim.Region.Framework.Scenes.Scene current scene object of the client
request string
path string
param string
agentID UUID
caps OpenSim.Framework.Capabilities.Caps
Résultat string

Close() public méthode

public Close ( ) : void
Résultat void

ForwardProxyRequest() public méthode

public ForwardProxyRequest ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
Résultat System.Collections.Hashtable

FreeSwitchConfigHTTPHandler() public méthode

public FreeSwitchConfigHTTPHandler ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
Résultat System.Collections.Hashtable

FreeSwitchSLVoiceBuddyHTTPHandler() public méthode

public FreeSwitchSLVoiceBuddyHTTPHandler ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
Résultat System.Collections.Hashtable

FreeSwitchSLVoiceGetPreloginHTTPHandler() public méthode

public FreeSwitchSLVoiceGetPreloginHTTPHandler ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
Résultat System.Collections.Hashtable

FreeSwitchSLVoiceSigninHTTPHandler() public méthode

public FreeSwitchSLVoiceSigninHTTPHandler ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
Résultat System.Collections.Hashtable

Initialise() public méthode

public Initialise ( Scene scene, IConfigSource config ) : void
scene OpenSim.Region.Framework.Scenes.Scene
config IConfigSource
Résultat void

OnRegisterCaps() public méthode

OnRegisterCaps is invoked via the scene.EventManager everytime OpenSim hands out capabilities to a client (login, region crossing). We contribute two capabilities to the set of capabilities handed back to the client: ProvisionVoiceAccountRequest and ParcelVoiceInfoRequest. ProvisionVoiceAccountRequest allows the client to obtain the voice account credentials for the avatar it is controlling (e.g., user name, password, etc). ParcelVoiceInfoRequest is invoked whenever the client changes from one region or parcel to another. Note that OnRegisterCaps is called here via a closure delegate containing the scene of the respective region (see Initialise()).
public OnRegisterCaps ( Scene scene, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : void
scene OpenSim.Region.Framework.Scenes.Scene
agentID UUID
caps OpenSim.Framework.Capabilities.Caps
Résultat void

ParcelVoiceInfoRequest() public méthode

Callback for a client request for ParcelVoiceInfo
public ParcelVoiceInfoRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string
scene OpenSim.Region.Framework.Scenes.Scene current scene object of the client
request string
path string
param string
agentID UUID
caps OpenSim.Framework.Capabilities.Caps
Résultat string

PostInitialise() public méthode

public PostInitialise ( ) : void
Résultat void

ProvisionVoiceAccountRequest() public méthode

Callback for a client request for Voice Account Details
public ProvisionVoiceAccountRequest ( Scene scene, string request, string path, string param, UUID agentID, OpenSim.Framework.Capabilities.Caps caps ) : string
scene OpenSim.Region.Framework.Scenes.Scene current scene object of the client
request string
path string
param string
agentID UUID
caps OpenSim.Framework.Capabilities.Caps
Résultat string

parseRequestBody() public méthode

public parseRequestBody ( string body ) : Hashtable
body string
Résultat System.Collections.Hashtable

setLandSIPAddress() public méthode

implementation of IVoiceModule, called by osSetParcelSIPAddress script function
public setLandSIPAddress ( string SIPAddress, UUID GlobalID ) : void
SIPAddress string
GlobalID UUID
Résultat void