10 of the 24 teams playing the next Africa Cup of Nations in Morocco have been decided after the defending champions and Equatorial Guinea booked their spots.