Hi All,

I'm new to Kamailio but have been running dozens of Freepbx systems for the last 10 years.   We are an Education Service District and service K-12 schools. Many of these we provide dial tone to, the rest we have connections to to provide for toll avoidance and backup outbound calling when the LEC fails. Our main focus is to save schools money that can be used for education instead of infrastructure.
  
Right now I have a single freepbx machine that is using inbound routes to send calls to the proper school district. I would like to replace this with a Kamailio server instead but can't seem to get my mind around the best way to do this.  
I have 119 inbound routes in my current system with 22 trunks to the other districts. This may increase in the future as we try to migrate districts off of the expensive systems to a more open source way of calling.    
Currently calls between districts take the route out of the system just to come right back in to be routed to a different district.   I would like to avoid that if possible.     
I've been trying to educate myself on the best practice in this type of structure but can't seem to figure out the best way to make this work. Most of the videos and websites assume a pretty intimate knowledge of Kamailio. That and the database structure doesn't make sense to me.  
I would like to keep each freepbx as its own registrar as we have lots of crossover with extensions and a few of the districts have their own staff that manage that aspect of the machines. . 
Any suggestions would be appreciated.  Please ask questions if this just looks like I'm rambling.

--
Wayne Wenthin
Wide Area Network Administrator | CTA@MESD
503.257.1562  Phone/Fax