Trunk Dial Rules

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
I have a system in Atlanta, GA which has huge local calling area. To complicate matters, the local exchange (NXX) coexists in multiple area codes (NPA).

The carrier requires that ALL local numbers be dialed with 10 digits AND all toll calls be dialed with 1+10 digits.

The end user can not possibly know whether a number is local or not and simply wants to dial 1+10 or 10 digits.

Prior to FreePBX version 2.10, the Outgoing Dial Rules could be pasted into a list box. So the entries went like this:

1) All local 10 digit NPANXXXXXX (OVER 2000 entries!)
470212XXXX
470213XXXX
470214XXXX
.
.
.
770996XXXX
770997XXXX
770999XXXX

2) 1|NPANXXXXXX - Remove the 1 if dialed in front of a local number (SAME ENTRIES AS ABOVE - OVER 2000)
1|470212XXXX
1|470213XXXX
1|470214XXXX
.
.
.
1|770996XXXX
1|770997XXXX
1|770999XXXX

3) 1+NXXXXXXXXX Prefix a 1 because it's not local if it didn't match earlier

4) 1NXXXXXXXXX (1+10 not local - dial as is)

I use local calling guide to download in csv, import into excel and use formulas to create the list. Then I paste the list into the "Dial Rules" list box.

OK, here's the problem. FreePBX has done away with the list box for Dial Rules and they can not be pasted. I realize that the dial wizard has a selection called "Lookup Numbers for Local Trunk (10-digit Dialing)" but this does not provide the functionality that I need described above.

I also realize that I can "Upload a cvs file" which is probably what I will do.

I understand that this change was made to make it simpler for lay people to create the dial rules. Personally, I would prefer a system setting that lets you do it the old fashioned way.

I also realize that this is a FreePBX issue not a PBXinaFlash issue - but the FreePBX developers do lurk here.

Comments welcome :)
 
Joined
Jun 29, 2009
Messages
258
Reaction score
0
I would agree that Swiss Army Knife is the preferred solution, but will it work with F---PBX 2.10? For some reason I had thought that 2.9 was the last supported version (though I'd be happy to be wrong about that).

(Still hoping Ward and the gang will one day come up with a PiaF-like project that does not use Asterisk or F---PBX!).
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
I have over 9300 entries in one of my dialing rules just for this sort of thing. My carrier allows free local calling to most major cities in the country, and I set the rules up the same way you do, using the SAK package.

I should note, it takes my server 3-4 minutes to reload/restart, but it is able to do it. :)
 

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
Mike S.

Check the link in my signature to the npanxx.php page on my website.

If you enter an area code and exchange, tick the FreePBX 2.9 and higher radio button and add the Atlanta area area codes (770,404,678,470) to the comma separated list of area codes that are all local calls, this web page will provide an Atlanta dial plan with about 40 entries, including the local numbers in 706 and 256 area codes.

The response that you get will be presented in csv format that you can copy and paste into a csv file on your local machine and upload it into FreePBX.

The way I do it for Atlanta is to create the list for 10-digit and paste that into my file, then I re-run it for "Strip the 1" and paste that in. That way the user does not have to know whether it is local to Atlanta or not; FreePBX will make the number right and use the least cost routing this way.
 

Members online

No members online now.

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top