On 25/10/11 05:44, Andre Courchesne wrote:
Why not import that in a MySQL db and in your dial plan logic query your local 
db ?

On 2011-10-24, at 2:07 PM, Liviu Toma wrote:

Hello,

One of my asterisk servers is in Mississauga connected to a PRI line
from Telus. Since Bell/Telus still think we're in the 19th century and
calls from Mississauga to for example Markham are supposed to be long
distance, I am looking to build a way to handle local/long distance
exchanges within the 905 and 289 area codes automatically.
I can the localcallingguide.com site to extract the list of exchanges
that are local, however, listing all of those in my extensions.conf
file is not very elegant.
Does anyone have a nicer solution for this, like an external text file
that lists all the local exchanges ?

Or import them into e164.org and use enum lookups :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to