[5.0.48] [core] calculate ring-time only in case of accepted calls