The vigilance arm of the Department of Telecom has unearthed 22 illegal telephone exchanges in the country.