  DracoFelis Premium join:2003-06-15
1 edit | reply to DracoFelis Blocking costly area codes via your "Dial Plan".
Considering how easy it is to dial high cost regions, and considering that some providers (including the DialPad.com I use) do NOT have an option to block costly calls from their portal, I thought I would put some number "blocking" into my Sipura dial plan.
While blocking "international dialing" is pretty obvious (just don't allow more than 11 digits of dialing), some countries near the USA (for example the Bahama's) are considered costly international calls, yet they dial as if they were USA numbers (ouch)! So I googled for a list of area codes, and used that info to construct a list of dial plan patterns that my Sipura should disallow/block (Sipura adapters let you disallow a pattern by putting an "!" at the end of the pattern string). I make no promises that this list is accurate/complete (feel free to modify it, and post those modifications to this thread, if you find something wrong). And I also made no effort to block Canadian numbers (as many providers, including mine, charge Canada numbers the same as the USA).
However, FWIW here is my 1st attempt at a "costly area code block list". If you want to use this list, I would suggest putting it as the first entry in your dial plan, so that the entries in this list override any entries that allow normal 11 digit dialing.
124[26]x.!|1441x.!|1456x.!|1473x.!|1555x.!|1590x.!|1649x.!|1758x.!|1767x.!|1809x.!| 126[48]x.!|1[27]84x.!|134[05]x.!|16[68]4x.!|186[89]x.!|1[89]76x.!|1[79]00x.!|[34678]11! NOTE: As always, Sipura dial plan entries are on a single line. Please remove the extra "line break" (in the plan entry above), before copying this string into the front of your Sipura dial plan. |