As long as you smoke you will have the problem you described. There are not medcations that will solve the problem that I know of. I am a smoker and have the phlem myself but it does not go away unless you stop smoking.
Some people have it worse than others. I do take cayenne pepper capsules that help to a certain degree but does not do away with it..The pepper will losen the phlem so you can cough it up.
Good luck