When the soft water system regenerates nightly, the water that flushes the beads clean and readies them for the next day , that water is directed to a drain or in your case probably no drain was available near softener so it was directed to waste line (improperly).
