I have gone through your query regarding a whitish fowl smelling material which you have coughed out.
Your observations are suggesting that you have chronic tonsillitis
with white cheesy material comming out of your tonsils , this whitish material is actually organised pus.
Thus all above indicate for infection and you should consult E.N.T. specialist for thorough examination and treatment.