There should be continuity between the two contacts of the buzzer, with the resistance of the coil of wire it contains. My concern was that when you pushed the buzzer against the wall to mount it, wires may have made contact where they shouldn't have, for example the two wires from the transformer touching each other, either directly or through the metal housing of the buzzer.
My mistake, I just looked up how these buzzeres work, there's continuity unless the dong hits the bell then it looses continuity.
I tested it with DC and the bell works, the only think I can think the problem is here is there's some sort of continuity between the two wires coming from the transformer. I tested with the multimeter it gets some numbers and not a real beep, I believe it was like that originally though and it was working originally.
I'm also trying to understand how the buzzer is supposed to work with AC and DC
If it's indeed the two wires touching wouldn't it short?