The situation in South Asia has long gone beyond the scope of something that can be handled by ISI or for that matter any spy agency. Either the leaders in India and Pakistan will decide to co exist peacefully, which means, Pakistan backing off the Kashmir issue and India granting a never before heard anatomy to J&K, or this war of attrition will go on for ever.. Or atleast till one of the 2 countries splinters and ceases to exist as it does today.
At this time, Pakistan seems to be bearing the brunt of this attrition war but you never know when things turn on their head.
So in short, the solution is not the performance of ISI or RAW or CIA, but the political will of the leaders of India and Pakistan to break out of this spiral of mutual animosity..
I think Kashmir will take the backseat, & Iran, Afghanistan & Balochistan will take the front seat.