Hello and welcome to e health forum.
The description of your clinical signs and symptoms and history of chronic smoking, indicate that you may be having conditions like Chronic bronchitis or Bronchiectasis. Other conditions that need to be ruled out include neoplastic growths or tumours, causing airflow obstruction.
You may consult with your doctor, and get a few tests including a X ray or a CT scan, which may give additional information to make a proper diagnosis.