You can use "Auto Silent" app to disable or bypass iPhone Silent switch. If your switch was broken in silent mode, it will restore all sounds including ring.
Then you can use Auto Silent app to put phone into silent mode.
The app supports iPhone All generations (2G, 3G,3GS,...) and OS firmware 2.2, 3.0, 3.1
This app can also be used by those people whose silent switch is loose or accidently put phone into silent mode.
Also, there is provision to put phone into silent mode automatically using pre-configured settings in the app or according to appointments in iPhone Calendar.
The app can be downloaded through Cydia. Search for "Auto Silent" on Cydia.
You neeed to jail break in order to install Cydia. Search for "How to jailbreak iPhone" on google.
Originally Posted by nobopyon
It just happened to me yesterday!
Instead it stuck silent, it won't get silent.
I always turn on silent mode at work... now I can't.
In fact, I can't even make volume completely "0" volume...
It would be nice if they have sbsetting add-on for silent mode on/off...
I looked into cydia, but I had no luck finding anything similar to it