I aggree with Chachi.
Coins in a can should do the trick, however, you have to be diligent
in shaking that can when he barks. It won't happen over night but
when he relates the noise to his barking he should stop.
All I say to Buddy now is "I'm getting the can" and quiet is immediate.
He hate's that noise.

This was my savior and sanity when he
was younger. Now he rarely barks unless he hears someone in the
hall or the door bell rings. When the door bell rings all the coins in the world would not stop him