Accretion from an inhomogeneous medium – III. General case and observational consequences