How do you take an iPhone off silent?

on the side of the iphone there will be a switch which you just push to take your iphone off silent.

i tried this on an iphone 4s so i hope this works on all the other iphones :)