code: public static Sid getOrganizationSidBySipURIHost(DaoManager storage, final SipURI sipURI) {
          if (logger.isDebugEnabled()) {
              logger.debug(String.format("getOrganizationSidBySipURIHost sipURI = %s", sipURI));
          }
          final String organizationDomainName = sipURI.getHost();
          Organization organization = storage.getOrganizationsDao().getOrganizationByDomainName(organizationDomainName);
          return organization == null ? null : organization.getSid();
      }
docs: getOrganizationSidBySipURIHost
  
  @param sipURI
  @return Sid of Organization