The countries agreed to exchange 1,000 prisoners of war each during peace talks held in Istanbul on Friday.