Dialing out in UK
MB..:
Quote from: ianobi on October 19, 2012, 07:51:31 am
I may have missed some of your needs, e.g. I’m not sure what *x was for. Also, I don’t think you are using the Voice Gateways (vg1, vg2, etc) referred to in your Phone Port OutBoundCallRoute.
Sorry, that was me: I was trying to edit a more complex setup (using Voice Gateways with multiple providers) to meet the original OPs needs. The *x. was an attempt to cover any service codes.
Assume everything is working now.
For future reference, the <:01306>[1-9]xxxxx substitutions were only applicable to the ITSP not to the PSTN - they have the effect of turning a 6 digit number into a (0) 11 digit number. So this transformation should be in the ITSP map and not the PSTN/Line map.
Haus:
Hi Everyone,
I've recently bought an Obi110, and am in the UK too. Have similar issues to Stuart - so thought I'd add to this thread. If I should make a new thread, please let me know and I am happy to post again.
I am having trouble making the digit maps work correctly, I tried calling my mobile 07xxxxxxxxx, however it still uses PSTN to make the call.
Can anyone please have a look to see where I'm going wrong? Any advice is greatly appreciated.
Many thanks,
Haus
My primary line is set to PSTN. I would like to receive calls from my landline as well as from my Sipgate provider (Profile A). I have also written below what I interpret the codes to mean, hope I understood the codes correctly?
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))
Default ( but changed 911 to UK 999 and 112)
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}
Default ( but changed 911 to UK 999 and 112)
Line Port DigitMap:
(0[1-3]xxxxxxxxxS0|<020>[3]xxxxxxxS0|<020>[7-8]xxxxxxxS0|0800xxxxxxxS0|0845xxxxxxxS0|0870xxxxxxxS0|0031xxxxxxxxxS0|0045xxxxxxxxS0|0049xxxxxxxxxxS0|0014xxxxxxxxxS0|001xxxxxxxxxxS0|xx.)
Call UK Landlines beginning in 01, 02 or 03 (as soon as last digit is entered immediately)
Call Local area numbers without entering area code 020, so I can just dial 3xxxxxxx.
Call Local area numbers without entering area code 020, so I can just dial 7xxxxxxx or 8xxxxxxx.
Call 0800 numbers
Call 0845 numbers
Call 0870 numbers
Call Netherlands beginning with 0031
Call Denmark beginning with 0045
Call Germany beginning with 0049
Call Canada beginning with 0014
Call USA beginning with 001
Anything else (unless if it matches the ISTP) still gets routed via PSTN
ISTP Profile A General DigitMap:
(07xxxxxxxxx|0844xxxxxxx|0871xxxxxxx|0091xxxxxxxxx|xx.|(Mipd)|[^*#]@@.)
Call UK Mobiles beginning with 07
Call 0844 numbers
Call 0871 numbers
Call India 0091 numbers
(I assume I can remove the xx. - as I don't want to route any other numbers via Sipgate, is this correct?)
Thank you :)
ianobi:
Haus,
Welcome to the forum :)
Beware of the xx. rules! I would think that the xx. rule in your Line Port DigitMap is matching all the numbers that you are trying to send via sp1.
You could try just removing xx. from the Line Port DigitMap, but that might restrict you from dialling some numbers. E.g. some 0800 numbers are not eleven digits long. The most secure way is to redirect numbers from the Mpli (Map PrimaryLine). In your case Mpli = Mli (MapLinePort).
For each rule in your ISTP Profile A General DigitMap add a rule in the Line Port DigitMap such as <**1>07xxxxxxxxx so you end up with a Line Port DigitMap:
(<**1>07xxxxxxxxx|<**1>0844xxxxxxx|<**1>0871xxxxxxx|<**1>0091xxxxxxxxx|0[1-3]xxxxxxxxxS0|<020>[3]xxxxxxxS0|<020>[7-8]xxxxxxxS0|0800xxxxxxxS0|0845xxxxxxxS0|0870xxxxxxxS0|0031xxxxxxxxxS0|0045xxxxxxxxS0|0049xxxxxxxxxxS0|0014xxxxxxxxxS0|001xxxxxxxxxxS0|xx.)
The <**1> prepends **1 to any number that matches the following digits. The Phone Port OutboundCallRoute rule {(<**1:>(Msp1)):sp1} will remove the **1 and route the call to sp1.
In your ISTP Profile A General DigitMap (which is in effect Msp1), I would remove xx.|(Mipd)|[^*#]@@. The xx. is not wanted and I don’t believe Sipgate UK allow sip uri dialling (anything@anywhere) format, which is what the other rules are for. Always be wary of this rule [^*#]@@. As far as digits are concerned it is the same as xx.
Be careful if you cut and paste from here to make sure no spaces get into the DigitMaps and nothing is left out.
Edit: Assuming that you removed xx.|(Mipd)|[^*#]@@. From Msp1, then a simpler Line Port DigitMap would be:
(<**1>(Msp1)|0[1-3]xxxxxxxxxS0|<020>[3]xxxxxxxS0|<020>[7-8]xxxxxxxS0|0800xxxxxxxS0|0845xxxxxxxS0|0870xxxxxxxS0|0031xxxxxxxxxS0|0045xxxxxxxxS0|0049xxxxxxxxxxS0|0014xxxxxxxxxS0|001xxxxxxxxxxS0|xx.)
Haus:
Hi Ianobi,
Many thanks for your very quick and helpful reply. It works perfectly! ;D
I've used your second suggestion - makes it all easier to manage I think.
Just in case anyone want's to see what I'm using now -
ISTP Profile A General DigitMap:
(07xxxxxxxxx|0844xxxxxxx|0871xxxxxxx|0091xxxxxxxxx)
Line Port DigitMap:
(<**1>(Msp1)|0[1-3]xxxxxxxxxS0|<020>[3]xxxxxxxS0|<020>[7-8]xxxxxxxS0|0800xxxxxxxS0|0845xxxxxxxS0|0870xxxxxxxS0|0031xxxxxxxxxS0|0045xxxxxxxxS0|0049xxxxxxxxxxS0|0014xxxxxxxxxS0|001xxxxxxxxxxS0|xx.)
Navigation
[0] Message Index
[*] Previous page