Solutions of the Eliashberg equations for models of electron-phonon coupling