Viperpiper, as TomFOhio suggested, this sump discharge should not be pumped into your sewage line assuming this is simply a basement sump for ground water. It is actually against the law in most places as it puts undue hydraulic stress on the city sewage system or your septic system, whichever the case may be.
It sounds like you have a venting issue at your toilet. Your sump pump is pumping a slug of water into your sewer line each time it pumps out, and as it passes where the toilet connects to the main sewer line, it is apparently pulling the water out of the toilet. This can be because:
- The vent for the toilet is plugged.
- The toilet is wet vented through a sink that enters the main line downstream of the toilet entry point.
- This sump was added to the sewer system and mistakenly added between the toilet and the vent for the toilet.
- ??????
So, the best advice is to get this pump discharge out of the sewer. And you don't just pump it out the basement wall. It has to be pumped away from the house or you will be pumping the same water in a circle. In Ontario, I assume this means some heat traced and insulated pipe to get the discharge line below grade 3-4 feet. and then run it out to a swale or ditch.
As this pump currently is piped to your main sewer line, and assuming you are on your own private septic system, one could resolve your problem with the toilet being sucked out by this sump pump, which is the venting of the toilet as outline above and continue to use the sump this way in the winter. Then in the summer months, when freezing is not a problem, divert this pump discharge to outside the building to a shallow drainpipe or swale or ditch so you don't have to worry about tracing and insulation of the pump discharge line outside the house.
Good luck.