Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-13 Thread Benny Amorsen
sean darcy seandar...@gmail.com writes: The regular long distance is set up so users can but don't have to dial one. That's pretty easy, just one more exten statement. But it's a pain dealing with all the 8xx area codes that are toll free. We try to canonicalize dialled numbers as soon as

Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-13 Thread M Hulber
You've had some good suggestions so far but honestly the brute force method is not that difficult. I have been in the process of trying to make my dialplan more concise (fewer statements) but haven't tried to do anything about this one: ; Toll-Free exten =

Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-13 Thread M Hulber
Cary, You also forgot 880, 881, 882 although I'm not sure I've ever even come across one of those. Cary Fitch wrote: In my previous reply, I may be wrong, 877 is probably a valid toll free NPA, add it in the mix. Cary Fitch -Original Message- From:

Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-13 Thread Cary Fitch
The ERC NPAs for Toll free are: Toll-Free Special Use NPAs * 800-NXX- * 888-NXX- * 877-NXX- * 866-NXX- * 855-NXX- Those are the US toll free NPAs. The Easily Recognizable Codes (ERC) NPAs have identical last two digits. NOT 881 for instance, but like,

[asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-12 Thread sean darcy
I'm setting up dialplans to deal with 800 dialing through a different channel than regular long distance in the US. The regular long distance is set up so users can but don't have to dial one. That's pretty easy, just one more exten statement. But it's a pain dealing with all the 8xx area codes

[asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-12 Thread sean darcy
I posted this before, but it didn't show up. So if it's a dup... I'm setting up dialplans to deal with 800 dialing through a different channel than regular long distance in the US. The regular long distance is set up so users can but don't have to dial one. That's pretty easy, just one more

Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-12 Thread Cary Fitch
I am not sure of the complexity of your issue. There are only 4 toll free NPAs. 800, 888, 877, 866. Any thing starting with them is toll free. So, filtering them is not a major task, it would take only 4 statements at most and could be done with 2. I don't program on a daily basis... so this is

Re: [asterisk-users] an easy way to deal with/without leading 1 ?

2009-03-12 Thread Cary Fitch
In my previous reply, I may be wrong, 877 is probably a valid toll free NPA, add it in the mix. Cary Fitch -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of sean darcy Sent: Thursday, March 12, 2009 7:45 PM To: