Exemple #1
0
 public static void FullReload(this IAppCache cache)
 {
     log.Info("Full cache reload");
     // TODO: Maybe divide this function in to more granularity
     cache.ClearSipAccounts();
     cache.ClearRegisteredUserAgents(); // Make sure that this one is cleared if user agents change
     cache.ClearOngoingCalls();
     cache.ClearCallHistory();
     cache.ClearLocationNetworks();
     cache.ClearSettings();
     cache.ClearAvailableFilters();
     cache.ClearProfiles();
     cache.ClearProfileGroups();
     cache.ClearUserAgents();
 }
Exemple #2
0
 public void Update(SipAccount ccmUser)
 {
     _internalRepository.Update(ccmUser);
     _lazyCache.ClearSipAccounts();
 }