trixter http://www.0xdecafbad.com
2005-Oct-11 22:00 UTC
[Asterisk-Users] Large country based dialplan
I spent the last day or so gathering every country plan and listing prefixes as mobile, premium, etc. If anyone wants this I have made it available at http://www.0xdecafbad.com/Global-Numbering-Plan.html Each country has its own context, making it easy to include what you want where. Obviously this is not good for enterprise solutions, so I have also provided a csv file for easy MySQL insertion of all the same info. For country code 1 I have broken it down into each country, for the US and Canada for each region, and then made contexts that include those so it should be fairly easy to include into what you need. Cutting and pasting would be a far better solution than including this whole file as it has 5000 entries. But for those that use something like voipbuster that gives free landline calls to a few countries this may be helpful to know what you should be able to call and what you should. Where I got the data from and all is also on that page if anyone wanted to make their own lists. I would appreciate any updates or corrections that anyone happens to notice. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051012/391c50ed/attachment.pgp
On 10/12/05 13:00 trixter http://www.0xdecafbad.com said the following:> Where I got the data from and all is also on that page if anyone wanted > to make their own lists. I would appreciate any updates or corrections > that anyone happens to notice.a simple modification which would make this a lot more international friendly would be the definition of a variable to hold the international access code and then using this code instead of _011 which is US-centric. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
Dinesh Nair wrote:> > On 10/12/05 13:00 trixter http://www.0xdecafbad.com said the following: > >> Where I got the data from and all is also on that page if anyone wanted >> to make their own lists. I would appreciate any updates or corrections >> that anyone happens to notice. > > > a simple modification which would make this a lot more international > friendly would be the definition of a variable to hold the international > access code and then using this code instead of _011 which is US-centric. >Seems to be missing a lot of extensions for the Netherlands and my own region code is listed as KPN Mobile :) There is however a complete list of region codes for the netherlands (this one is old, but should give you an idea) http://www.ez.nl/content.jsp?objectid=26840