Home FAQs Installeren Analoge Telefoon Adapter (ATA) What is a dial plan, and how can I create one?
What is a dial plan, and how can I create one?
Dial plans enable you to setup advanced call settings of your ATA such as routing certain phone numbers through your PSTN line rather than the VoIP line, you can use more than one dial plan.

Listed below is the Dial Plan Syntax used to create Dial Plans:

 

Syntax Description
() Brackets are used to define the start and end of a dial-plan. Therefore the entire dial plan must start with an open bracket and end with a closed bracket
| If you wish to setup multiple dial-plans you must separate each dial-plan with a |
x Used as to represent a wildcard digit between 0-9 on a phone dialpad
0-9 Used to represent 0-9 on a phone dialpad
# Used to represent # on a phone dialpad
* Used to represent * on a phone dialpad
. Used to represent a repetition
<:> Used to make a replacement. E.g. <03:9811> would replace 03 with 9811
S0 Forces the ATA to dial immediately
<:@gw0> This represents the PSTN line
<:@gw1> This is an advanced feature
<:@gw2> This is an advanced feature
<:@gw3> This is an advanced feature
<:@gw4> This is an advanced feature
, Provides a dial-tone
! Used to bar a pre-defined number
[] Limit choices. E.g. [69] is 6 or 9
[6-9] means 6,7,8,9

 

Some example dial plans are included below:

 

TIP: een eenvoudig dialplan voor uw SPA-3102:
(<0:>x.S0<:@gw0>|<9:>x.S0)
Dit dialplan zorgt ervoor dat u via de KPN-lijn uitbelt als u een 0 draait voor het nummer, en dat u via VoIP belt als u een 9 draait. Heel eenvoudig, en werkt altijd! N.B.: u dient met dit dialplan wel altijd een netnummer te draaien. Bij onze technotes vindt u meer voorbeelden en uitleg over dialplans.
 

(98110000S0<:gw0>)
When a user dials the phone number 98110000 the call will be immediately (S0) routed out gw0 (PSTN line).

(98110000S0<:gw0>|9011xxxxS0<:gw0>)
This shows two dial-plans separated by the | The first dial-plan is identical to above, however the second dial-plan indicates that when 9011xxxx (x’s are wildcards meaning any digit between 0-9) is dialled to immediately route the call via gw0 (PSTN line).

(1900x.!)
This dial-plan shows how to barr any calls to numbers starting with 1900 The . after the x (wildcard digit between 0-9) means to repeat the x infinetly. Therefore if 1900xxxxxxxxxx was dialled it would still be barred.

 

Another example:

(112<:@gw0>|<##,:>x.<:@gw0>|<:003110>xxxxxxx<:@gw2>|

<0:0031>800xxx.<:@gw2>|<09:00319>xxxxxxx.<:@gw2>

|<06:00316>[1-9]xxxxxxx<:@gw2>|<6:00346>[1-9]xxxxxxx<:@gw2>

|<0:0031>[1-9]xxxxxxxx<:@gw2>|<9:00349>x.<:@gw2>

|0033x.<:@gw2>|0032x.<:@gw2>|0034x.<:@gw2>

|0035x.<:@gw2>|0044x.<:@gw2>|0060x.<:@gw2>|00x.<:@gw2>) 

 

 
English French German Italian Portuguese Russian Spanish