This solution shows the components that might also possibly damaged if the speaker does not have a sounds output. After ensuring that the loud speaker module is working okay, you may also check or by then replace the components showed on the solution below.
nokia asha 501 ringer ways. track, jumper, solution
repair nokia 501 ringer not working problem with jumper
Nokia 501 Ringer, Hands Free Speaker No Audio Sounds Repair solution
The Ringer audio sounds signal is feeds from the UEM IC, therefore for further troubleshooting you may also try to rework the UEM IC if all of those components above including the loud speaker is working well.