Exemplo n.º 1
0
        public RegistrarCore(
            SIPTransport sipTransport,
            bool mangleUACContact,
            bool strictRealmHandling)
        {
            m_sipTransport        = sipTransport;
            m_mangleUACContact    = mangleUACContact;
            m_strictRealmHandling = strictRealmHandling;

            m_registrarBindingsManager     = new SIPRegistrarBindingsManager();
            m_sipAccountsDataLayer         = new SIPAccountDataLayer();
            m_SIPRegistrarBindingDataLayer = new SIPRegistrarBindingDataLayer();
            m_sipDomainDataLayer           = new SIPDomainDataLayer();
        }
Exemplo n.º 2
0
        private Dictionary <string, SIPDomain> m_domains = new Dictionary <string, SIPDomain>();  // Records the domains that are being maintained.

        public SIPDomainManager(IDbContextFactory <SIPAssetsDbContext> dbContextFactory)
        {
            _sipDomainDataLayer = new SIPDomainDataLayer(dbContextFactory);
        }