As Vito immediately knew and Carlo confirmed later, it was Barzini all along.

Plus what Turnbull said about the "Bonnie and Clyde" shout out.
And given that Vito had had inexplicable luck in escaping two previous assassination attempts I suppose the people on the other side wanted to make sure there were no mistakes with Sonny.
"Forty seven shots! Forty seven shots in his Sicilian hide and he's still alive!"