Radio model of the transition layer in solar active regions