Chosen Solution
So got a new phone the audio ic chip was broken then i got it fixed. Now the speaker button on calls is back. Sometimes my calls can hear me but most of the time they cant. Siri can always hear me but voice memos and calls can sometimes not hear me. Any ideas?
If siri can hear you there is a slight chance it could be a faulty microphone on the charging dock cable. If not the Audio IC repair was not done properly. Send it back for warranty repair.