Cameroon became the third team to qualify for next year's African Cup of Nations after a 1-0 victory over Mauritania.
The Court of Arbitration for Sport has lifted Morocco's ban from the next two editions of the Africa Cup of Nations.
Morocco have been suspended from the next two Africa Cup of Nations after pulling out of hosting this year's tournament.
Holders Nigeria failed to qualify for the 2015 Africa Cup of Nations after being held to a 2-2 draw by South Africa.
Morocco may be barred from the next two Africa Cup of Nations after refusing to stage the 2015 one in January/February.
UEFA president Michel Platini has hit back in an on-going row with the Confederation of African Football.