예제 #1
0
        void IWcfService.AddVoipProvider(WcfVoipProvider provider)
        {
            var configuration = SipServerConfigurationSection.GetSection();

            configuration.VoipProviders.Add(provider.ToVoipProviderConfigurationElement());
            configuration.Save();
        }
예제 #2
0
 void IWcfService.AddVoipProvider(WcfVoipProvider provider)
 {
     var configuration = SipServerConfigurationSection.GetSection();
     configuration.VoipProviders.Add(provider.ToVoipProviderConfigurationElement());
     configuration.Save();
 }