Active system to extinguish or prevent the spread of fire in a building or vehicle by inserting a fire-suppressing substance