Among hospitalized adult smokers who wanted to quit smoking , a postdischarge intervention providing automated telephone calls and free medication resulted in higher rates of smoking cessation at 6 months compared with a standard recommendation to use counseling and medication after discharge .