Good Dial Plan For ATA

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
manachinu
magicJack Apprentice
Posts: 29
Joined: Fri Oct 17, 2008 1:10 pm

Good Dial Plan For ATA

Post by manachinu »

Can anyone advice what is a good dial plan for using with ATA ? I have a PAP2. Thanks.
pagemen
Dan isn't smart enough to hire me
Posts: 128
Joined: Mon Dec 15, 2008 6:36 am

Post by pagemen »

Get this from BBR:

(*xx|911|<411:18004664411>|[235678]11!|<:1555>[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|<:1>[2-9]xx[2-9]xxxxxxS0)

replace 555 with your local area code
7/10/11 digit dailing and google 411.
manachinu
magicJack Apprentice
Posts: 29
Joined: Fri Oct 17, 2008 1:10 pm

Post by manachinu »

I am using MJ in japan over a ATA. And most of my calls are actually to canada, this wont Affect my calling capacity right ?
grimball
MagicJack Newbie
Posts: 6
Joined: Wed Dec 03, 2008 5:09 pm

Post by grimball »

pagemen wrote:Get this from BBR:

(*xx|911|<411:18004664411>|[235678]11!|<:1555>[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|<:1>[2-9]xx[2-9]xxxxxxS0)

replace 555 with your local area code
7/10/11 digit dailing and google 411.
Thanks. This kinda works on my Packet8 DTA310 (flashed with Leadtek BVA8051 firmware).

tested 411 & 7 digit dialing o.k. - but the 10 & 11 get fast busy.

Probably has to do with my MJ # not in my actual areacode.
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

This Dial Plan will allow calls to US and Canadian numbers only and will not allow calls to any other country in Country Code 1 nor to any country outside of Country Code 1. To prevent unintentional calls to 911, that is also blocked. I intentionally do not permit 10-digit dialing, as it is too easy to misdial a call by pausing too long between the 7th and 8th digit dialed.

Code: Select all

([1235-9]11!|411S0|<:1311>[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0| 1441!|1473!|1649!|1758!|1767!|1784!|1876!|1[26][68]4!|1[28]68!| 124[26]!|134[05]!|167[01]!|18[06]9!|011!)
Calls to prohibited Area Codes are blocked and the rest are allowed through. If you need to permit 911 calling via MJ, change [1235-9]11! to [1235-8]11! and change 411S0 to [49]11S0. If you wish to use 7-digit dialing for calls within your Area Code, just replace 311 with your own Area Code.
squish102
MagicJack Newbie
Posts: 1
Joined: Fri Feb 06, 2009 10:50 pm

Post by squish102 »

If i wanted to use my local area code but not include the 1, will this dial plan not work. Is that what you were referring to when you said that you intentionally not permit 10-digit dialing?

I know my wife does not use the 1 in front when making a local call, but does use the local area code.

Thanks
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

This Dial Plan permits 7 digit and 11 digit dialing, but not 10 digit dialing. This is for two reasons. First, by doing so the result is a totally unambiguous Dial Plan. There is no sequence of dialed digits that could be interpreted two ways. Second, the Dial Plan knows exactly how long each dialed number is supposed to be, so it sends the call forward as soon as the last expected digit is input, rather than waiting for a timer to expire.

As I said above, permitting 10 digit dialing is an invitation to cause a misdial. For example, if you live in Los Angeles and want to call someone in New York, dialing 212-555-1234, but you pause too long between the 7th and 8th digit, you will ring 212-5551 in your own Area Code.

10 digit dialing is only permitted in a POTS network for local calls because the phone company has not assigned any of the local Area Codes as exchange numbers within these Area Codes. For example, in New York City you will find Area Codes 212, 646, 718, 347 and 917. 10 digit dialing is permitted within New York City because these 5 Area Code numbers are not used as exchange numbers within any of the 5 Area Codes, precluding a misdial.

They don't, however, permit calling anywhere else without putting the NANP intercity code 1 in front of the Area Code. How else could they distinguish between 908-3456 and 908-345-6-pause-789?

This Dial Code is usable anywhere in the US and Canada. You are welcome to customize it (by yourself or by hiring someone to do it for you) to handle 10 digit dialing within your Local Calling Area.
Elemeye
magicJack Apprentice
Posts: 17
Joined: Sun Feb 10, 2008 11:31 am

Need to call internationally

Post by Elemeye »

Please advise what should be changed in the Dialing Plan to allow International calling.
I would usually dial 011 following the country code and it is the only thing not working through PAP2T at the moment.

Example: 011xxxxxxxxxxx (14 digits all together)
Thanks!
MagicDump
Dan isn't smart enough to hire me
Posts: 100
Joined: Thu Sep 11, 2008 8:19 pm

Re: Need to call internationally

Post by MagicDump »

Elemeye wrote:Please advise what should be changed in the Dialing Plan to allow International calling.
I would usually dial 011 following the country code and it is the only thing not working through PAP2T at the moment.

Example: 011xxxxxxxxxxx (14 digits all together)
Thanks!
I think this dial plan should work for 14 digits International calling in a PAP2T:

Code: Select all

|011[2-9]xxxxxxxxxxS0|
011: The international dialing prefix for North America

[2-9]: Any single number from 2 to 9 inclusive (i.e., a 2,3,4,5,6,7,8 or a 9). In this case, the first digit in the country code we're calling

S0

S0 (S followed by the number 0) represents 'Straight Out'. So this part of the dial plan is saying to your PAP2 that should a person dial a sequence of keys that 'fit' the above portion of the dial plan, process the call immediately (i.e., without waiting for more digits to be pressed on the keypad).
Elemeye
magicJack Apprentice
Posts: 17
Joined: Sun Feb 10, 2008 11:31 am

Thanks!

Post by Elemeye »

Thank You MagicDump.
I've set it up as you suggested and everything works! And I've learned the logics behind the code :)
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

The S0 tag must only be applied to Dial Plan elements that are of fixed length. Otherwise, when dialing numbers that are longer than the number of xes entered your ATA will place the call before you have finished dialing. Unless you are calling a country with uniform length phone numbers and include the unique Country Code (such as 01165xxxxxxxxS0 for Singapore), using S0 is an invitation to place misdialed calls.
OG1502
magicJack Apprentice
Posts: 17
Joined: Thu May 22, 2008 12:48 am

Post by OG1502 »

mberlant wrote:This Dial Plan will allow calls to US and Canadian numbers only and will not allow calls to any other country in Country Code 1 nor to any country outside of Country Code 1. To prevent unintentional calls to 911, that is also blocked. I intentionally do not permit 10-digit dialing, as it is too easy to misdial a call by pausing too long between the 7th and 8th digit dialed.

Code: Select all

([1235-9]11!|411S0|<:1311>[2-9]xxxxxxS0|1[2-9]xx[2-9]xxxxxxS0| 1441!|1473!|1649!|1758!|1767!|1784!|1876!|1[26][68]4!|1[28]68!| 124[26]!|134[05]!|167[01]!|18[06]9!|011!)
Calls to prohibited Area Codes are blocked and the rest are allowed through. If you need to permit 911 calling via MJ, change [1235-9]11! to [1235-8]11! and change 411S0 to [49]11S0. If you wish to use 7-digit dialing for calls within your Area Code, just replace 311 with your own Area Code.
Great Dial Plan. Thanks.
thedeportee
MagicJack Newbie
Posts: 3
Joined: Thu Apr 16, 2009 10:46 pm

Dial Plan

Post by thedeportee »

The dial plan found in this thread is good but there was a mistake in the code making the 10 and 11 digit dialing to not work. i just revise and restated it from the above post.

(*xx|911|<411:18004664411>|[235678]11|<:1518>[2-9]xxxxxx|1xxx>[2-9]xxxxxxS0|<:1>[2-9]xx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

this will give you:

regular 911
google 411
11 digit dial
replace the 518 in the following code to your area code <:1518>[2-9]xxxxxx
10 digit dialing was missing a > symbol and a 11 digit was blocked with a !.
Thedeportee
mberlant
Dan Should Pay Me
Posts: 829
Joined: Sun Feb 01, 2009 7:47 pm
Location: Japan

Post by mberlant »

thedeportee has posted a correction to a very insecure Dial Plan. The weaknesses of the BBR Dial Plan, quoted in the beginning of this thread, are:

- it includes * Vertical Service Codes, which MJ does not support,
- it includes the ability to call [235678]11, which MJ does not support,
- it fails to immediately forward a number upon completion of 7 digits,
- it permits 10 digit dialing, which is an invitation to misdialed numbers,
- it fails to block calls to countries outside of the US and Canada, but within Country Code 1, and
- it includes a catchall at the end, which is a horrendous invitation for misdials and expensive phone calls. If you are going to put a catchall into a Dial Plan, there is no reason not to scrap the rest of the Dial Plan (except for the 411 translation).

All in all, that Dial Plan is not very good at doing what a Dial Plan is supposed to do.

p.s. I can't find the missing > symbol. Where is it missing from?
ydnim
MagicJack Newbie
Posts: 6
Joined: Sat Apr 11, 2009 12:21 am

Post by ydnim »

hi, i am very new to this.. can anyone help me make a dialing plan that allows 10 digit dialing? my magicjack number is in new york and i usually call illinois and maryland.. please help. thanks!
thedeportee
MagicJack Newbie
Posts: 3
Joined: Thu Apr 16, 2009 10:46 pm

Post by thedeportee »

1xxx>[2-9]xxxxxxS0|
mberlant wrote:thedeportee has posted a correction to a very insecure Dial Plan. The weaknesses of the BBR Dial Plan, quoted in the beginning of this thread, are:

- it includes * Vertical Service Codes, which MJ does not support,
- it includes the ability to call [235678]11, which MJ does not support,
- it fails to immediately forward a number upon completion of 7 digits,
- it permits 10 digit dialing, which is an invitation to misdialed numbers,
- it fails to block calls to countries outside of the US and Canada, but within Country Code 1, and
- it includes a catchall at the end, which is a horrendous invitation for misdials and expensive phone calls. If you are going to put a catchall into a Dial Plan, there is no reason not to scrap the rest of the Dial Plan (except for the 411 translation).

All in all, that Dial Plan is not very good at doing what a Dial Plan is supposed to do.

p.s. I can't find the missing > symbol. Where is it missing from?
Thedeportee
but2002
MagicJack User
Posts: 38
Joined: Sun Apr 12, 2009 6:22 pm

Post by but2002 »

Can I get a dial plan that
Supports 911
Supports 11 and 7 digit dialing
BLOCKS international calling (Except for US and Canada of course)

Also, does an ATA support inbound and outbound caller ID with Magicjack? XD
Image
evilmonkey1987
magicJack Apprentice
Posts: 12
Joined: Sun May 18, 2008 11:30 pm

Post by evilmonkey1987 »

but2002 wrote:Can I get a dial plan that
Supports 911
Supports 11 and 7 digit dialing
BLOCKS international calling (Except for US and Canada of course)

Also, does an ATA support inbound and outbound caller ID with Magicjack? XD
(P20|*xx|[3469]11S0|1xxx[2-9]xxxxxxS0|<:1555>[2-9]xxxxxxS0|1900xxxxxxx!|011[2-9]x.!)

See where it says <:1555>? Replace 555 with your three digit area code. It blocks 1-900 numbers and international calls, but allows 311, 411, 611, and 911. If you want to bock those, change [3469]11S0 to [3469]11! (the exclamation mark is part of the dial plan, not me yelling at you :) ).

Also, if you have P20 at the beginning of the dial plan you can use 10 digit, 11 digit, and 7 digit dialing. If you're worried about 416-5555 *pause* 555, that pause would have to be 20 seconds long. If it is, you deserve to misdial. :)

Have fun!
Post Reply