Before the vote , thousands of people rallied outside the parliament building in Ankara to protest the mission .