Is she asthmatic ?
Yes she might need a course of antibiotics .
This could be atypical pneumonia
Get her examined by chest physician and get her Xray chest PA view done .
To see for the chest condition.
She needs antibiotic for mucus which is coming from her chest.
If her age is more then chest physiotherapy
would be useful and some spirometry
exercises too will be helpful.