Chinese President Xi Jinping on Friday had a phone conversation with Afghan President Mohammad Ashraf Ghani.