Ok asked this earlier with no response so I will phrase it a different way. I am sure someone had to deal with this and there is a "best way." I want to let Asterisk make the decision on best path based on local exchange - xxx-yyy - where xxx is one of my local area codes and xxx is exchange designator. The problem is that the list is rather large. Maybe 50-100. The idea is that I can talor my local PSTN usage to only those exchanges that are non-toll for me. Other calls will go out ENUM to best way. So is there a way to do this without entering a dialplan for every exchange designator? Doug **************************** * Doug Crompton * * Richboro, PA 18954 * * 215-431-6307 * * * * doug@crompton.com * * http://www.crompton.com * ****************************
Do those numbers smell? how do you expect asterisk to know about those numbers with listing it? On 6/5/06, Doug Crompton <doug@crompton.com> wrote:> Ok asked this earlier with no response so I will phrase it a different > way. I am sure someone had to deal with this and there is a "best way." > > I want to let Asterisk make the decision on best path based on local > exchange - xxx-yyy - where xxx is one of my local area codes and xxx is > exchange designator. The problem is that the list is rather large. Maybe > 50-100. The idea is that I can talor my local PSTN usage to only those > exchanges that are non-toll for me. Other calls will go out ENUM to best > way. > > So is there a way to do this without entering a dialplan for every > exchange designator? > > Doug > > **************************** > * Doug Crompton * > * Richboro, PA 18954 * > * 215-431-6307 * > * * > * doug@crompton.com * > * http://www.crompton.com * > **************************** > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Mojo with Horan & Company, LLC
2006-Jun-05 14:30 UTC
[Asterisk-Users] Local vs. toll Dial Plan
an excellent alternative might be an agi script. This lets you load in a flat text file of exchanges (and optionally, actions to take for each one), and make the decisions in a comfortable programming language. Doug Crompton wrote:> Ok asked this earlier with no response so I will phrase it a different > way. I am sure someone had to deal with this and there is a "best way." > > I want to let Asterisk make the decision on best path based on local > exchange - xxx-yyy - where xxx is one of my local area codes and xxx is > exchange designator. The problem is that the list is rather large. Maybe > 50-100. The idea is that I can talor my local PSTN usage to only those > exchanges that are non-toll for me. Other calls will go out ENUM to best > way. > > So is there a way to do this without entering a dialplan for every > exchange designator? > > Doug > > **************************** > * Doug Crompton * > * Richboro, PA 18954 * > * 215-431-6307 * > * * > * doug@crompton.com * > * http://www.crompton.com * > **************************** > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Mojo, Yes that is what I had in mind. Has anyone seen any programming examples of that? Doug On Mon, 5 Jun 2006, Mojo with Horan & Company, LLC wrote:> an excellent alternative might be an agi script. This lets you load in > a flat text file of exchanges (and optionally, actions to take for each > one), and make the decisions in a comfortable programming language. > > > Doug Crompton wrote: > > Ok asked this earlier with no response so I will phrase it a different > > way. I am sure someone had to deal with this and there is a "best way." > > > > I want to let Asterisk make the decision on best path based on local > > exchange - xxx-yyy - where xxx is one of my local area codes and xxx is > > exchange designator. The problem is that the list is rather large. Maybe > > 50-100. The idea is that I can talor my local PSTN usage to only those > > exchanges that are non-toll for me. Other calls will go out ENUM to best > > way. > > > > So is there a way to do this without entering a dialplan for every > > exchange designator? > > > > Doug > > > > **************************** > > * Doug Crompton * > > * Richboro, PA 18954 * > > * 215-431-6307 * > > * * > > * doug@crompton.com * > > * http://www.crompton.com * > > **************************** > > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > Mojo <mojo@horanappraisals.com> > Office Manger, Horan & Company, LLC > (907) 747-6666 x112 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >"Those that sacrifice essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin (1759) **************************** * Doug Crompton * * Richboro, PA 18954 * * 215-431-6307 * * * * doug@crompton.com * * http://www.crompton.com * ****************************
I am working on an AGI script to do just this. The idea is to use the XML database search at localcallingguide.com and decide if the call is local or LD based on parameters that you provide to the script. Will keep you posted on the progress of this. I'm hoping to have it done soon. The problem has been finding the time to work on it. -Jason Doug Crompton wrote:> Ok asked this earlier with no response so I will phrase it a different > way. I am sure someone had to deal with this and there is a "best way." > > I want to let Asterisk make the decision on best path based on local > exchange - xxx-yyy - where xxx is one of my local area codes and xxx is > exchange designator. The problem is that the list is rather large. Maybe > 50-100. The idea is that I can talor my local PSTN usage to only those > exchanges that are non-toll for me. Other calls will go out ENUM to best > way. > > So is there a way to do this without entering a dialplan for every > exchange designator? > > Doug > > **************************** > * Doug Crompton * > * Richboro, PA 18954 * > * 215-431-6307 * > * * > * doug@crompton.com * > * http://www.crompton.com * > **************************** > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >