I have to use headphones or the speaker phone in order to have a conversation
Mine dose the same thing. Believe it's dirt or moisture in the headphone jack. If something is making contact in there it will shut the speaker off. Mine gets messed up every time I used the headphones.
Check your mic if anything is blocking it. Also, are you using a case? If you are, you might want to remove it and try making a call.