US and Taiwanese presidents have not spoken directly since Washington shifted diplomatic recognition to Beijing from Taipei in 1979.