During Monday’s call, Mr Trump recognised Gen Haftar’s efforts to combat terrorism and secure Libya’s oil and they discussed Libya’s future.
Tripoli is the seat of Libya’s UN-backed and internationally recognised government.
Mr Trump’s call suggests he endorses Gen Haftar, unlike some of his allies.
More than 200 people have been killed since the fighting began three weeks ago.
On Thursday the UN-backed Prime Minister Fayez al-Serraj condemned the “silence” of his international allies amid the assault by Gen Haftar’s forces.
Libya has been torn by violence and political instability since long-time ruler Muammar Gaddafi was deposed and killed in 2011.
… we have a small favour to ask. More people are reading and supporting our independent, investigative reporting than ever before. And unlike many news organisations, we have chosen an approach that allows us to keep our journalism accessible to all, regardless of where they live or what they can afford.
The Guardian is editorially independent, meaning we set our own agenda. Our journalism is free from commercial bias and not influenced by billionaire owners, politicians or shareholders. No one edits our editor. No one steers our opinion. This is important as it enables us to give a voice to those less heard, challenge the powerful and hold them to account. It’s what makes us different to so many others in the media, at a time when factual, honest reporting is critical.
Every contribution we receive from readers like you, big or small, goes directly into funding our journalism. This support enables us to keep working as we do – but we must maintain and build on it for every year to come.