I can provide you dial-plan from a commercial project solution I have done 3 years ago, the dial-plan will allow you to provide DID's as you required and more features, if you need a full system to manage it easily from the web I can also provide that but as it is a very high end system it will cost much more then the simple dial-plan (<100K)