I would contact your doctor and let them know you are having these spells still despite the medications. There is a possibility the meds are enabling you to cough stuff up, but there is also the possibility that the meds are causing more problems. Only your doctor knows your case well enough to help determine what's going on. You may need a mucus thinner such as guaifenison to help...but do talk to your doctor first.
Chronic Lyme Disease, Gluten & Sulfite Sensitivity, Many Food/Inhalant/Medication/Chemical Allergies & Intolerances, Asthma, Gut issues (dysmotility, non-specific inflammation), UCTD ("Secondary Lupus-Like Syndrome"), Osteoporosis, Pancytopenia, chronic malabsorption/malnutrition, etc.; G-Tube; Currently TPN-dependent.
Meds: Zofran, Pulmicort, Heparin (to flush PICC line), Claritin, Colloidal Silver (used topically), IV Milk Thistle, probiotics.