The point-contact spectroscopy is used to address the evolution of two superconducting energy gaps in the Al- and C-doped magnesium diboride polycrystals and single crystals with Tc’s from 39 to 22K prepared by different techniques. The obtained evolution of two gaps does not show any anomalous behavior but can be consistently described by the combination of the (prevailing) band filling effect and a (minor) increased interband scattering as proposed by Kortus et al. [Kortus et al., Phys. Rev. Lett. 94 (2005) 027002]. The approaching of two gaps is stronger in the Al-doped systems but interband scattering is still not large enough to merge two gaps. The full merging can expected only for higher dopings with Tc’s below 10–15K. In-magnetic-field measurements are used to analyze the intraband scatterings introduced by these two substitutions. It is shown that the carbon doping introduces significant disorder mainly by decreasing the diffusion coefficient in the π band while the Al substitution leaves the samples in the clean limit.