My iPhone's sound doesn't work when plugged in?

When I plug my iPhone 4S into the charger, the sound is off and I won't let me turn it up. I just got a new charger today (not apple). How can I make the sound work while its plugged in? It's plugged into a wall outlet, not computer.

I think you should change the charger as it seems that you charger is not working smoothly. YOu can buy new charger from any online shop but http://www.elizabethavenuewest.com will give you every brand.

I have tryed other charger the sound does not work when it's plugged in