Sound Muted After Restart in Ubuntu (Gnome) Fix

I've been having some problems recently with the sound in Ubuntu Linux (Jaunty). One of the issues is that after each restart / boot-up, when I log-in to Gnome, the sound is muted even though it wasn't when I shut down the computer, so I searched for a fix (I've read it's a Gnome issue) and found one and I will share it with you, as there must be some other people having this problem with PulseAudio (i'm not sure if it's a PulseAudio problem though).