Pakistan and Australia have urged Washington and Tehran to uphold a ceasefire after talks to end the Middle East war ended without a deal.