Ray trajectories and electron cyclotron absorption in an axisymmetric magnetic confinement system