Barrier effects in dispersive media