Tunisia earned their place at the Nations Cup finals despite being held in Dar es Salaam by hosts Tanzania.
The Carthage Eagles dominated the opening exchanges and hit the woodwork either side of their goal.
Tunisia took the lead after just 11 minutes through Seifeddine Khaoui of Marseille with a truly excellent finish after he was put through by a lovely piece of skill from Youssef Msakni.
With Tanzania struggling in front their fans at the Benjamin Mkapa National Stadium it looked like Tunisia would win easily.
Things changed just two minutes after the break as substitute Feisal Salum found the target with a stunning hit from just outside the area.
Tanzania improved in the second half and both teams had their chances but it remained deadlocked at 1-1.
The draw was enough for Tunisia to confirm their place in Cameroon as they are now guaranteed a top-two finish, thanks to their 1-0 win over Tanzania last Friday which guarantees the Carthage Eagles a better head-to-head record over the Taifa Stars.
Tanzania are in third place on four points, two behind Equatorial Guinea in second place with Libya still in with a chance despite being bottom on three points.