Chosen Solution
When flipping the switch to silent, the “silent” and “non-silent” icons flash on the screen at random times. The phone will only stay silent for a few minutes or less at a time although it is set on silent. How would one fix this? The phone has not been damaged or exposed to moisture. It just started one day.
You need to replace the headphone/silent switch/ volume control cable. I had the same problem. First it was the silent switch becoming very intermittant, then the volume control worked only down … this is when I HAD to fix it. Following this guide will work. I found the hardest bit to remove the rear cover without damaging it. the cable and switch comes in 2 varieties, make sure you get the correct one for your phone.