Or set up site to site VPNs, the 2 sites will have different subnets from each other and from the main site, the phones will connect without any special licensing