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 ? > > Thanks, > Liviu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
