The conductivity of a medium interrupted by voids