Phonon emission into a diffusive and anharmonic medium