Woodpeckers don’t sing. For territorial establishment, they drum. They prefer hollow logs and trees because the sound is louder. I guess the metal amplifies the sound too.
I knew they don’t sing, but it just never occured to me that the drumming was their mating call. No wonder they like metal buildings and roofs.