good day dear, I introduce myself, I am an electronic engineer with a specialization in telecommunications, I work with Asterisk and we can solve your problem by creating a telephone exchange, with extensions for each office, I would like a little more details of the equipment you have, talk a little more about the project