C# Class FreeswitchVoice.FreeswitchService

Inheritance: IFreeswitchService, IService
Show file Open project: aurora-sim/Aurora-Sim-Optional-Modules

Protected Properties

Property Type Description
m_Enabled bool
m_freeSwitchAPIPrefix string
m_freeSwitchAttemptUseSTUN bool
m_freeSwitchContext string
m_freeSwitchDefaultTimeout int
m_freeSwitchDefaultWellKnownIP string
m_freeSwitchEchoPort int
m_freeSwitchEchoServer string
m_freeSwitchRealm string
m_freeSwitchSIPProxy string
m_freeSwitchServerPass string
m_freeSwitchServerUser string

Public Methods

Method Description
FinishedStartup ( ) : void
GetJsonConfig ( ) : string
HandleDialplanRequest ( Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
HandleDirectoryRequest ( Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Private Methods

Method Description
HandleConfigSofia ( string Context, string Realm, Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
HandleInvite ( string Context, string Realm, Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
HandleLocateUser ( String Realm, Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
HandleRegister ( string Context, string Realm, Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]

Method Details

FinishedStartup() public method

public FinishedStartup ( ) : void
return void

GetJsonConfig() public method

public GetJsonConfig ( ) : string
return string

HandleDialplanRequest() public method

public HandleDialplanRequest ( Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
request System.Collections.Hashtable
httpRequest Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

HandleDirectoryRequest() public method

public HandleDirectoryRequest ( Hashtable request, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
request System.Collections.Hashtable
httpRequest Aurora.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Aurora.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

Initialize() public method

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

Start() public method

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
return void

Property Details

m_Enabled protected property

protected bool m_Enabled
return bool

m_freeSwitchAPIPrefix protected property

protected string m_freeSwitchAPIPrefix
return string

m_freeSwitchAttemptUseSTUN protected property

protected bool m_freeSwitchAttemptUseSTUN
return bool

m_freeSwitchContext protected property

protected string m_freeSwitchContext
return string

m_freeSwitchDefaultTimeout protected property

protected int m_freeSwitchDefaultTimeout
return int

m_freeSwitchDefaultWellKnownIP protected property

protected string m_freeSwitchDefaultWellKnownIP
return string

m_freeSwitchEchoPort protected property

protected int m_freeSwitchEchoPort
return int

m_freeSwitchEchoServer protected property

protected string m_freeSwitchEchoServer
return string

m_freeSwitchRealm protected property

protected string m_freeSwitchRealm
return string

m_freeSwitchSIPProxy protected property

protected string m_freeSwitchSIPProxy
return string

m_freeSwitchServerPass protected property

protected string m_freeSwitchServerPass
return string

m_freeSwitchServerUser protected property

protected string m_freeSwitchServerUser
return string