Pelosi spoke with the president