Chosen Solution

Replaced the docking port using parts from ifixit and their tool kit. Everything works afterwards including charging which is why I replaced the port but when making normal phone calls I need to talk very loud in order for the listener on the other end to hear me. I know the microphone was part of the replacement part. Is it defective?

Its possible that its defective but its much more likely that its not lined up right. There is just a very, very, very tiny hole that the sound comes in through. If that’s not lined up right, you get the problem you are having. Its also really common for a piece of fluff or dirt to get into the hole during repair. Pull the mic, make sure its clean, make sure the hole in the case is clean and then make sure its lined up right.