Aidan,
I'm also in the UK, also have an OBi110 and also use
Sipgate.uk. I'm guessing I must have solved all of the problems you have found by now
The main problem is that the OBi digit maps etc are all set up for North American number formats. If the number you dial does not match a format accepted by the digit maps, then a "catch-all" rule (xx.) comes into play, but adds big delays to dialling. Also, we need to get the emergency numbers correct for the UK.
When dialling outbound, Sipgate do require the full STD number. It makes no difference to the call cost. The following digit maps will add the STD code for you, so you can still dial a seven digit local number.
I'm assuming that you wish Sipgate to be your Primary Line (the one that you do not need to dial ** codes before numbers) and that you have set it up on sp1. To dial out on PSTN via the Line Port, you will need to dial **8 before numbers.
This is a first attempt and will sure to need some fine-tuning to get exactly what you need.
Physical Interfaces > PHONE Port > PrimaryLine: SP1 Service
Voice Service > Auto Attendant > PrimaryLine: SP1 Service
Physical Interfaces > PHONE Port > DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|999|112|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
Physical Interfaces > PHONE Port > OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{(<#:>|999|112):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Service Providers > ITSP Profile A > General > DigitMap:
(<0141>[2-9]xxxxxx|0[1237]xxxxxxxxx|0[4568]xx.|1xxxx|1xxxxxx|00xx.)
Physical Interfaces > LINE Port > DigitMap:
([2-9]xxxxxxS0|0[1-9]xxxxxxxxxS0|xx.)
Routing should work as follows:
999/112 direct to PSTN
Seven digits starting 2 to 9 will have 0141 prepended and be sent out via sp1
Eleven digits starting with 01, 02, 03, 07 will be sent out via sp1
Variable length starting 04, 05, 06, 08 will be sent out via sp1
Five digit starting with 1 will be sent out via sp1. (Sipgate service numbers).
Seven digit starting with 1 will be sent out via sp1. (Sipgate internal numbers).
Any number starting with 00 (international) will be sent out via sp1.
**8 followed by seven digits starting 2 to 9 will be sent to PSTN.
**8 followed by eleven digits starting 01 to 09 will be sent to PSTN.
**8 followed by any mismatched numbers will be sent to PSTN after a 10 seconds or more delay.
I do find
Sipgate.uk reliable and good quality. UK call rates are good value. However, I find their mobile phone rates and some international call rates rather high. I use another provider for those calls.
It's probably best to get all the above working before trying to fine-tune it