This is my first attempt at a Belgium configuration. Using it in practice may show some need for fine tuning! I'm assuming that GV is set up on sp1.
Physical Interfaces > PHONE Port > PrimaryLine: PSTN Line
Physical Interfaces > PHONE Port > DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|100|101|112|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
Physical Interfaces > PHONE Port > OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|100|101|112):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Physical Interfaces > LINE Port > DigitMap:
(<**1>1[2-9]xxxxxxxxx|04xxxxxxxx|0[1-3,5-9]xxxxxxx|00xx.|xx.)
Calls route as follows:
100|101|112 These are special cases and are sent direct to PSTN line without being processed by the Line Port DigitMap.
1[2-9]xxxxxxxxx eleven digits, first digit 1, second digit 2 to 9. These numbers have **1 prepended to them. This automatically routes them to sp1 (GV).
04xxxxxxxx ten digits starting with 04 (mobile phones). Route direct to PSTN line.
0[1-3,5-9]xxxxxxx nine digits, first digit 0, second digit anything except 4 or 0. (Landline calls including 0800xxxxx). Route direct to PSTN line. This includes all of the emergency numbers you listed that are nine digits long.
00xx. International numbers any length starting with 00. Route direct to PSTN line, but with a ten second delay as OBi waits to see when dialling is finished.
xx. Any number any length. Routes direct to PSTN line, but with a ten second delay as OBi waits to see when dialling is finished.
There are other "tips and tricks" you may find if you search around on this forum. For instance you may find that you can speed up outgoing dialling on the PSTN line by reducing tone lengths:
Physical Interfaces > LINE Port > DialDigitOnTime and DialDigitOffTime.
I reduced mine from 200ms to 80ms and it works fine, but you may need to experiment with that.
You may wish to look at how CallerID is delivered to your OBi via the PSTN line. In Belgium I think it may be DTMF. There are options here:
Physical Interfaces > Line Port > Port Settings > CallerIDDetectMethod
When someone calls you via the PSTN line, the OBi110 delays ringing the phone for around four seconds to try to process the CallerID. This delay is based on North American CallerID method, which is sent after the first ring, so a delay is needed. After getting the CallerIDDetectMethod working, you may find you can reduce this delay:
Physical Interfaces > LINE Port > RingDelay
Anyhow, that's more than enough to be going on with! Let us know how it works out. When we have it right I may post it under a new title "Belgium Configuration" so any other OBi users in Belgium can find it easily.