My iPhone 4 is not ringing and its not muted?

I'm missing calls because my iPhone isn't ringing, my speaker isn't broken, mute isn't on. Do not disturb isn't on, I tried everything, but won't ring still, but it only rings when earphones r on, someone help please

Speaker could be broken or you could have your ringer and alert volume set difffrently then your normal volume. Goto settings and sounds and youll see if thats the case. If you fix it tell me and give me best answer if not still tell me and i will try to help