They are using artillery cannons, not artillery machine guns. The cannons are portable and apparently can be moved from place to place. I suppose permanent canons would be rocket attack targets.
Howitzers.
I seriously doubt that Hamas has advanced counterbattery equipment. Their rockets are unguided terror weapons.