Time division switch
n input lines are scanned in round-robin order. Each line contributes to an input frame of n slots each of k bits. (T1 lines have 8 bits, 125microsec/frame).
Time slot interchanger takes input frames and outputs new frames where reordering of time slots occurs (using a mapping table). This goes to n output lines.
The crux of the matter is the interchanger.