Theory of phonon-controlled conductivity in high-resistivity conductors