The exchanges , which began days after the deadly assault in late November , gradually helped the two sides overcome mutual suspicions and paved the way for Islamabad 's announcement last week acknowledging that some of the planning for the attack had occurred on Pakistani soil , the sources said .