the two sides agreed to reopen the pipeline linking iraq 's kirkuk oil fields to the mediterranean terminals of banias in syria and tripoli in lebanon during a july meeting in damascus , the syrian capital .