You need cable casing end ferrules that reduce the diameter of the ends of the casing to fit against the edge of that small tube which functions as cable stops, as it goes into the top tube. I suspect that there is a metal tube brazed inside the top tube to bridge the two openings for the cable, so no need to feed in your cable casing into the top tube.