Dynamical mean field theory of the CDW phase