Please, share your German Dial Pattern - Help

Since this came up via google for “German freepbx dail pattern” and as of 1K views, ill put a real dail pattern here:

In Germany we have:

national land line 02… to 09… the dail pattern is for this:
prepend empty
prefix empty
match pattern “0N.” or “0[2-9].”

local area land line 2… to 9… the dail pattern is for this:

prepend: local area code (eg for Stuttgart Germany 0711) (if you dont want to dail it yourself for local numbers, and if your carrier require to dail local numbers also including local area code.
prefix: empty
match pattern: “Z.” incl. emergency “N.” w/o emergency (now you need an emergency route as well, its matchpattern is “1.” (german emergency numbers fier & ambulance 112 / police 110 / doctor 116 117)

national cellphone network: 015… to 017… the dail pattern is for this:

prepend empty
prefix empty
match pattern “01Z.” (or “01[5-7].”

And then there is CallByCall, this is a selection of PTSN Carrier via your original Carrier Telekom. Only the German Telekom is reuqired by law to offer CallByCall, so if you have a Telekom contract you need to pass the call by call metric also to the Telekom PTSN (maybe you have a AVM Fritzbox with the Telefonsparbuch running, then just pass it to the Truck of the Fritzbox and let the FritzBox handle the Call-By-Call on the database supplyed by Telefonsparbuch,… ah well, now I know why its name is FritzBox, Fritz=German lol.)

It is 010xx to 010xxx

if you want to rout all outgoing calls to one call by call carrier, put in the prepend field his CallByCall pre dail number

If you want to do it by hand, you need to have this dail pattern:

Prepend emty
Prefix empty
match pattern: “010.”

And for international calls, the allways start with 00 so its

prepend empty
Prefix empty
match pattern “00.”

and then there are service number like 0800 free call service or 0900 expensive call service.

Sof if you dont want to be able to dail them, you need to modifie the landline match patern

all Numbers where “0N.”

W/O service Numbers its “0NZ.”

(some carriers do charge big for freecall or service numbers, the price is only fixed if you use German Telekom, the other carriers are free to choose their own price for the service numbers. especially with cell phone it could get expensive)

correct me if I am somewhere on the wrong track.

Cheers
Manne