C# 클래스 FreeswitchVoice.FreeSwitchVoiceModule

상속: ISharedRegionModule, IVoiceModule
파일 보기 프로젝트 열기: aurora-sim/Aurora-Sim-Optional-Modules

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
Close ( ) : void
ForwardProxyRequest ( Hashtable request ) : Hashtable
FreeSwitchConfigHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
FreeSwitchSLVoiceBuddyHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
FreeSwitchSLVoiceGetPreloginHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
FreeSwitchSLVoiceSigninHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
FreeSwitchSLVoiceWatcherHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
Initialise ( IConfigSource config ) : void
OnRegisterCaps ( IScene scene, UUID agentID, IHttpServer server ) : OpenSim.Framework.Capabilities.OSDMap

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 ( IScene scene, string request, UUID agentID ) : byte[]

Callback for a client request for ParcelVoiceInfo

ParseRequestBody ( string body ) : Hashtable
PostInitialise ( ) : void
ProvisionVoiceAccountRequest ( IScene scene, string request, UUID agentID ) : byte[]

Callback for a client request for Voice Account Details

RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
setLandSIPAddress ( string SIPAddress, UUID GlobalID ) : void

implementation of IVoiceModule, called by osSetParcelSIPAddress script function

비공개 메소드들

메소드 설명
ChannelUri ( IScene scene, LandData land ) : string
CustomCertificateValidation ( object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error ) : bool

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

ForwardProxyRequest() 공개 메소드

public ForwardProxyRequest ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
리턴 System.Collections.Hashtable

FreeSwitchConfigHTTPHandler() 공개 메소드

public FreeSwitchConfigHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest OpenSim.Framework.Servers.HttpServer.OSHttpRequest
httpResponse OpenSim.Framework.Servers.HttpServer.OSHttpResponse
리턴 byte[]

FreeSwitchSLVoiceBuddyHTTPHandler() 공개 메소드

public FreeSwitchSLVoiceBuddyHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest OpenSim.Framework.Servers.HttpServer.OSHttpRequest
httpResponse OpenSim.Framework.Servers.HttpServer.OSHttpResponse
리턴 byte[]

FreeSwitchSLVoiceGetPreloginHTTPHandler() 공개 메소드

public FreeSwitchSLVoiceGetPreloginHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest OpenSim.Framework.Servers.HttpServer.OSHttpRequest
httpResponse OpenSim.Framework.Servers.HttpServer.OSHttpResponse
리턴 byte[]

FreeSwitchSLVoiceSigninHTTPHandler() 공개 메소드

public FreeSwitchSLVoiceSigninHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest OpenSim.Framework.Servers.HttpServer.OSHttpRequest
httpResponse OpenSim.Framework.Servers.HttpServer.OSHttpResponse
리턴 byte[]

FreeSwitchSLVoiceWatcherHTTPHandler() 공개 메소드

public FreeSwitchSLVoiceWatcherHTTPHandler ( string path, Stream request, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest OpenSim.Framework.Servers.HttpServer.OSHttpRequest
httpResponse OpenSim.Framework.Servers.HttpServer.OSHttpResponse
리턴 byte[]

Initialise() 공개 메소드

public Initialise ( IConfigSource config ) : void
config IConfigSource
리턴 void

OnRegisterCaps() 공개 메소드

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 ( IScene scene, UUID agentID, IHttpServer server ) : OpenSim.Framework.Capabilities.OSDMap
scene IScene
agentID UUID
server IHttpServer
리턴 OpenSim.Framework.Capabilities.OSDMap

ParcelVoiceInfoRequest() 공개 메소드

Callback for a client request for ParcelVoiceInfo
public ParcelVoiceInfoRequest ( IScene scene, string request, UUID agentID ) : byte[]
scene IScene current scene object of the client
request string
agentID UUID
리턴 byte[]

ParseRequestBody() 공개 메소드

public ParseRequestBody ( string body ) : Hashtable
body string
리턴 System.Collections.Hashtable

PostInitialise() 공개 메소드

public PostInitialise ( ) : void
리턴 void

ProvisionVoiceAccountRequest() 공개 메소드

Callback for a client request for Voice Account Details
public ProvisionVoiceAccountRequest ( IScene scene, string request, UUID agentID ) : byte[]
scene IScene current scene object of the client
request string
agentID UUID
리턴 byte[]

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

setLandSIPAddress() 공개 메소드

implementation of IVoiceModule, called by osSetParcelSIPAddress script function
public setLandSIPAddress ( string SIPAddress, UUID GlobalID ) : void
SIPAddress string
GlobalID UUID
리턴 void