That is telephony 101. Tie Lines.

https://en.wikipedia.org/wiki/E_and_M_signaling