The properties of the Te-antisite defect in the neutral state in CdTe were examined using ab initio calculations. The influence of three types of deformations (1D, 2D and 3D) on the defect energy levels and formation energies was investigated. It was found that the 2D deformation is the most effective for pushing the defect levels towards the band edges and opening up the bandgap of the semiconductor, and hence may improve the performance of CdTe as a detector material. We studied the defect levels and their occupancies including Jahn-Teller distortions. The Jahn-Teller distorted configuration places the 2A1(a) defect level closer to the valence band and this defect level position coincides with the 'unknown deep donor' measured in some experiments. Partial densities of states and band structures have been analysed to understand the arrangement of the defect bonds.