India and Pakistan have held high-level talks, four months after an earlier postponement.
Sunday's meeting in the Thai capital, Bangkok, was described as "candid, cordial and constructive".
Although Indian PM Narendra Modi invited his Pakistani counterpart to his inauguration last year, relations have deteriorated since then.
Cross-border firing along the disputed region of Kashmir have killed dozens of people from both sides.
India had initially insisted that any talks should only cover what it refers to as terrorism.
But a statement issued after Sunday's meeting said the security advisers of the two countries had also talked about Kashmir, peace and security.
It added that Sunday's meeting in Bangkok was held in a "candid, cordial and constructive atmosphere".
"It was agreed to carry forward the constructive engagement between the two countries," it said.