Pakistan, Turkey mull ways to control illegal migration