South Africa said Friday that talks to end Russia's nearly three-year war in Ukraine must involve all parties.