If you are sure that your iPhone 7 speaker is in good working order, here is a complete guide to troubleshoot your cell phone. Carefully check these Diagrams before starting the repair.
I Also faced this Problem but when I'm tryed this my iphone 7 Speaker problem is solved once the page IPhone 7 Speaker Not Working Problem Ringer Jumper Ways
I Also faced this Problem but when I'm tryed this my iphone 7 Speaker problem is solved once the page IPhone 7 Speaker Not Working Problem Ringer Jumper Ways