Provisioning numbers on Asterisk

Hi , I have just been given numbers from the my regulator to run a VOIP company. How best can i provision them on asterisk so that they are reachable. overtime the numbers may get to 1 million. Is there anyone who can give pointers on how i can set these numbers on my asterisk boxes to be reachable ?


exten => _X.,1…

will make every VoIP number, beginning with a digit, reachable.

If you want to route them individually, you would typically use Asterisk Realtime Architecture and a database.

I would be concerned about the number of call attempts that would be implied by over a million directory numbers. I think you would need to have an extensive network of load balancing proxies and to replicate the routing database.