Beispiel #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="sysSettings">Reference to system settings.</param>
 /// <param name="enabled">Specifies if SIP service is enabled.</param>
 /// <param name="proxyMode">Specifies SIP proxy server opearion mode.</param>
 /// <param name="minExpires">SIP minimum content expire time in seconds.</param>
 /// <param name="bindings">Specifies SIP listening info.</param>
 /// <param name="gateways">SIP gateways.</param>
 internal SIP_Settings(System_Settings sysSettings,bool enabled,SIP_ProxyMode proxyMode,int minExpires,IPBindInfo[] bindings,SIP_GatewayCollection gateways)
 {
     m_pSysSettings = sysSettings;
     m_Enabled      = enabled;
     m_ProxyMode    = proxyMode;
     m_MinExpires   = minExpires;
     m_pBinds       = bindings;
     m_pGateways    = gateways;
 }
Beispiel #2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="sysSettings">Reference to system settings.</param>
 /// <param name="enabled">Specifies if SIP service is enabled.</param>
 /// <param name="proxyMode">Specifies SIP proxy server opearion mode.</param>
 /// <param name="minExpires">SIP minimum content expire time in seconds.</param>
 /// <param name="bindings">Specifies SIP listening info.</param>
 /// <param name="gateways">SIP gateways.</param>
 internal SIP_Settings(System_Settings sysSettings, bool enabled, SIP_ProxyMode proxyMode, int minExpires, IPBindInfo[] bindings, SIP_GatewayCollection gateways)
 {
     m_pSysSettings = sysSettings;
     m_Enabled      = enabled;
     m_ProxyMode    = proxyMode;
     m_MinExpires   = minExpires;
     m_pBinds       = bindings;
     m_pGateways    = gateways;
 }
Beispiel #3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="owner">Owner collection.</param>
 /// <param name="uriScheme">URI scheme.</param>
 /// <param name="transport">Transport to use.</param>
 /// <param name="host">Remote gateway host name or IP address.</param>
 /// <param name="port">Remote gateway port.</param>
 /// <param name="realm">Remote gateway realm.</param>
 /// <param name="userName">Remote gateway user name.</param>
 /// <param name="password">Remote gateway password.</param>
 internal SIP_Gateway(SIP_GatewayCollection owner,string uriScheme,string transport,string host,int port,string realm,string userName,string password)
 {
     m_pCollection = owner;
     m_UriScheme   = uriScheme;
     m_Transport   = transport;
     m_Host        = host;
     m_Port        = port;
     m_Realm       = realm;
     m_UserName    = userName;
     m_Password    = password;
 }
Beispiel #4
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="owner">Owner collection.</param>
 /// <param name="uriScheme">URI scheme.</param>
 /// <param name="transport">Transport to use.</param>
 /// <param name="host">Remote gateway host name or IP address.</param>
 /// <param name="port">Remote gateway port.</param>
 /// <param name="realm">Remote gateway realm.</param>
 /// <param name="userName">Remote gateway user name.</param>
 /// <param name="password">Remote gateway password.</param>
 internal SIP_Gateway(SIP_GatewayCollection owner, string uriScheme, string transport, string host, int port, string realm, string userName, string password)
 {
     m_pCollection = owner;
     m_UriScheme   = uriScheme;
     m_Transport   = transport;
     m_Host        = host;
     m_Port        = port;
     m_Realm       = realm;
     m_UserName    = userName;
     m_Password    = password;
 }