Turkish President Tayyip Erdogan speaks to media after his meeting with Britain's Prime Minister Theresa May at the Presidential Palace in Ankara, Turkey, January 28, 2017. REUTERS/Umit Bektas

ANKARA (Reuters) - Turkish President Tayyip Erdogan and U.S. President Donald Trump agreed in a phone call overnight to act together regarding the Islamic State controlled Syrian towns of al-Bab and Raqqa, Turkish presidential sources said on Wednesday.

The two leaders discussed issues including a safe zone in Syria, the refugee crisis and the fight against terror, the sources said. They said Erdogan called on the United States not to support the Syrian Kurdish YPG militia.

The Turkish sources also said CIA Director Mike Pompeo was to visit Turkey on Thursday to discuss the YPG and battling the network of U.S.-based Turkish cleric Fethullah Gulen, whom Turkey accuses of orchestrating a July coup attempt.