[asterisk-users] an easy way to deal with/without leading "1" ?
Cary Fitch
caryf at usawide.net
Fri Mar 13 09:56:08 CDT 2009
The ERC NPAs for Toll free are:
Toll-Free Special Use NPAs
* 800-NXX-XXXX
* 888-NXX-XXXX
* 877-NXX-XXXX
* 866-NXX-XXXX
* 855-NXX-XXXX
Those are the US toll free NPAs.
The "Easily Recognizable Codes" (ERC) NPAs have identical last two digits.
NOT 881 for instance, but like, 211, 311, 511, 611, 911, 800, 888, 877, 866,
855, 900,
Original area codes had the middle digit as a 1 or 0, like 512 or 201, but
as they ran out of those, other digits have been allowed, such as 361 or
832.
Authoritative info is available at www.nanpa.com
Cary
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of M Hulber
Sent: Friday, March 13, 2009 8:35 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] an easy way to deal with/without leading "1" ?
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: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of sean darcy
> Sent: Thursday, March 12, 2009 7:45 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] an easy way to deal with/without leading "1" ?
>
> 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 exten statement. But it's
> a pain dealing with all the 8xx area codes that are toll free.
>
> I tried
>
> exten=>exten => _!877NXXXXXX,2,Dial(${pstnline}/ww1${EXTEN:-10})
>
> but that matches everything. I'd hoped it would only match strings
> that had zero or more characters, followed by the 877 pattern.
>
> sean
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list