Image copyright AFP Image caption Release captured Taliban fighters fighters before talks, say the militants

Fighting has resumed in Afghanistan after the Taliban ended a partial truce with government troops, casting doubt on peace talks scheduled for next week.

Dozens of incidents in more than 16 provinces left eight militants and six civilians dead, officials said. Eight security personnel were also killed.

Meanwhile Donald Trump says he had a "very good talk" with a Taliban leader.

Their phone call follows the peace deal signed between the US and the Taliban at the weekend.

A Taliban spokesman said the call between the US president and Mullah Abdul Ghani Baradar lasted more than half an hour, and both expressed a desire to bring peace to Afghanistan.

The Taliban said that Mr Trump would ask his Secretary of State Mike Pompeo to talk with Afghan President Ashraf Ghani in order to make sure negotiations between the Afghan government and the Taliban went ahead as planned as part of the peace deal.

Image copyright Getty Images Image caption President Trump spoke to reporters before leaving the White House for a briefing on coronavirus

A dispute over a prisoner swap has raised questions over the agreement - to which the Afghan government is not a direct party.

Under the accord, some 5,000 Taliban prisoners and 1,000 Afghan security force prisoners were to be exchanged by 10 March, when talks between the Taliban and the Afghan government are due to start.

But Afghanistan's President Ashraf Ghani said on Sunday his government had agreed to no such release. And on Monday the militants said talks would not take place if their prisoners were not released first.

The Afghan government said more than 20 people had died in the 24 hours since the Taliban resumed attacks on local targets.

"As a result, six civilians were killed and 14 wounded. Eight enemy were also killed, 15 wounded," interior ministry spokesman Nasrat Rahimi said.

Two soldiers were killed in an attack in Kandahar province, AFP news agency reported, quoting a government statement.

In Logar province near Kabul, an attack killed five policemen at a checkpoint outside a copper mine, the provincial governor's spokesman said.

In Herat in the west, one Afghan National Army soldier was killed in a Taliban attack, the Defence Ministry told the BBC.

What have the Taliban said?

The Taliban say they will meet Afghan officials but only to discuss the prisoner release.

Media playback is unsupported on your device Media caption Afghanistan's National Security Adviser, Hamdullah Mohib, says women have an ally in the president

"Now it is in the agreement and it is up to the US how it fulfils the commitments they made in the agreement," the Taliban's Doha office spokesman, Suhail Shaheen, tweeted.

Although the US-Taliban deal provides for the prisoner swap, a separate US-Afghan declaration commits the government in Kabul only to participating in talks on the "feasibility" of such a release, Reuters news agency reported.

An estimated 10,000 captured Taliban are being held in Afghanistan. The hardline Islamist group had observed a "reduction in violence" in the week leading up to the agreement with the US being signed on Saturday in Qatar.

They have said they will resume fighting Afghan forces, but would not target international troops.

The Taliban have previously refused to negotiate with the Afghan government, so Saturday's deal was just with the US, which invaded Afghanistan weeks after the September 2001 attacks in New York by al-Qaeda, then based in Afghanistan.

The Taliban were ousted from power but became an insurgent force that by 2018 was active in more than two-thirds of the country.

How has the US reacted?

General Scott Miller, the US forces commander in Afghanistan, said the reduction in violence "was a confidence builder", adding: "We're very serious about our obligations and we expect the Taliban will be serious about their obligations.

"The United States has been very clear about our expectations - the violence must remain low."

Media playback is unsupported on your device Media caption Tens of thousands of Afghan soldiers have been killed and injured. This is their story

Saturday's agreement included the withdrawal of US troops and its Nato allies from Afghanistan within 14 months - if the militants stick to the deal.

About 12,000 US troops are still stationed in the country.

President Trump, who had promised to end the Afghan conflict, said on Saturday that it was "time to bring our people back home".

Mr Trump said 5,000 US troops would leave Afghanistan by May.

He added that US troops had been killing militants in Afghanistan "by the thousands" and now it was "time for someone else to do that work and it will be the Taliban and it could be surrounding countries".