Where does consular processing take place?

Consular processing occurs in the country of the applicant’s permanent residence or home country.