taliban
Taliban and Afghan government representatives met for a second day of ceasefire talks in Qatar Sunday. Afghan security forces patrol at the Kunduz, Afghanistan, where fighting has flared. April 30, 2015. Reuters/Omar Sobhani

AL-KHOR, Qatar/PESHAWAR, Pakistan (Reuters) - Taliban representatives met with Afghan political figures for a second day in Qatar on Sunday, and one participant said the two sides discussed a possible ceasefire but ultimately disagreed over the continued presence of U.S. troops in the country.

The closed-door talks hosted by Qatar's foreign ministry represent a tentative sign of life in the effort to end the devastating 13-year-old war in Afghanistan.

The informal talks came as fighting escalated after the withdrawal of most U.S. and allied troops. The Taliban recently launched an offensive in northern Afghanistan that brought its fighters to the outskirts of Kunduz city, a provincial capital.

Participants in Sunday's meeting in Al-Khor, a seaside town north of Doha, emerged from the venue smiling and laughing on Sunday but refused to talk to waiting reporters.

The Afghan government has made no official statement on the meetings, though a member of the country's High Peace Council confirmed a delegation would attend meetings in Qatar with the Taliban.

One Taliban participant in the talks told Reuters by phone late on Sunday that an eight-member Taliban delegation, headed by Sher Mohammad Abbas Stanekzai, had held direct dialogue with Afghan officials.

"After the dialogue began, ‎our people gave demands and conditions in written form and ... distributed copies among all the participants," he said on condition of anonymity.

"Then the dialogue started openly, and the Afghan delegation and Qayyum Kochai, uncle of (Afghan) President Ashraf Ghani, demanded we stop our fighting and announce a ceasefire. They called us brothers and advised us to come to Afghanistan and obey the Afghan constitution," he said.

The Taliban said they would not stop fighting until all foreign forces left Afghanistan, he said.

The government delegation argued that most foreigners had already left and only trainers remained, who would also leave if the Taliban stopped fighting, he said.

The talks ended with no agreement except to hold another meeting in the United Arab Emirates "probably next month".

Tens of thousands of Afghans have died since the U.S. and its allies drove the Taliban's hard-line Islamist regime from power in 2001. Several previous peace initiatives have failed.

Taliban and Afghan sources have said the Qatar dialogue was also attended by representatives of several countries including the U.S., China and Pakistan.

Neither Chinese nor U.S. officials could immediately be reached for comment.

Pakistan had no comment on whether it attended but applauded the dialogue.

"Pakistan fully supports peace talks between the Afghan government and Taliban in Qatar," said Aizaz Ahmad Chaudhry, the foreign secretary of Pakistan. "Peace in Afghanistan is imperative for peace in the region."