(CNN)Chinese President Xi Jinping discussed the situation in North Korea and Syria with US President Donald Trump in a telephone call on Wednesday, China's foreign ministry said.