kbva – welcome to the forum.
QuoteCould anyone provide official best practice advice and detailed digitmap settings?
"official best practice" is a matter of debate here – opinions differ – here's my take on it.
With everthing at default PSTN is your Primary Line, this can be used to divert calls. This simple change will achieve what you want in a basic way:
Physical Interfaces > LINE Port > DigitMap:
(<**1>011xx.|xxxxxxxS4|1xxxxxxxxxx|xx.)
Now if you dial 011xx. the Line Port DigitMap will prepend **1 to the number. The Phone Port OutboundCallRoute will match anything starting with **1 with Msp1 and will send the number out on sp1 (GV).
911 is a special case and is sent directly to PSTN by the Phone Port OutboundCallRoute without reference to digitmaps.
The problem with this basic Line Port DigitMap is that it only matches "011xx." "xxxxxxx" and "1xxxxxxxxxx". All other numbers are matched by "xx." which works, but adds a ten second delay, while it waits to see if you have finished dialling. So the idea is to produce a digitmap that matches as many numbers as you will dial frequently. This may be better for you:
Physical Interfaces > LINE Port > DigitMap:
(<**1>011xx.|411|611|xxxxxxxS4|[2-9]xxxxxxxxx|18(00|88|77|66|55)xxxxxxx|8(00|88|77|66|55)xxxxxxx|1900xxxxxxx|900xxxxxxx|1xxxxxxxxxx|xx.)
Some of the rules may not be needed depending on your PSTN telco and how you normally dial. Do you need/use 1800xx. as well as 0800xx.? Same for 0900xx. ? Do you use seven digit dialling for local calls? Lots of questions to be answered before a truly personal digitmap can be achieved.
With the above setup you can still use GV for calls such as 1xxxxxxxxxx by dialling **11xxxxxxxxxx. If you want to use GV for calls other than international, then that digitmap can be improved, but that's for another post!
Anyhow – this is a first attempt, it normally takes a while to see exactly how you will use your OBi. Feel free to come back with questions