Dial plan explanation
SimonD:
So I'm doing OK so far with an Obi110 and I'm comfortable with the SIP and provider config but still getting my head around the digitmaps. I think I've read this thread enough and right above about UK dialing to use what Ron suggested but just looking to validate I haven't over looked something. :)
My setup:
SP1 - GV
SP2 - Sipgate UK
Line - Sipgate USA for E911
I left everything as is/was from the web site site other than the customizations for Sipgate UK setup. I'm using SP1/GV as the default service and have defined 636 as the local area code for 7 digit dialing.
Using what Ron defined above for mrbenjaminjo I created a user defined digitmap with a label of gbr with this data:
(!(09)xx.|<**2>0[0123578]xx.)
This seems to work so I don't have to dial **2 to make UK calls via SP2. I've only tested 0800 and 0500 numbers right now but those both worked.
My phone port digitmap now reads:
([1-9]x?*(Mpli)|[1-9]|[1-9][0-9]|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli)|(Mgbr))
with the Mgbr added at the end
The phone port OutboundCallRoute is unaltered but reads:
{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Could someone please take a look at this and confirm this doesn't look like it will cause any side effects?
Would it be more efficient to replace the digitmap under ITSP Profile B General to accomplish this? Should I change the digitmap for ITSP B to (!(09)xx.|<**2>0[0123578]xx.|(Mipd)|[^*]@@.'@'@@.) and then not need the user digitmap with the gbr label?
Thanks in advance
RonR:
SimonD,
If your PrimaryLine is SP1/ITSPA and you're trying to block numbers starting with 09 from SP2 and redirect numbers starting with 0[0123578] to SP2, I would suggest:
Service Providers -> ITSP Profile A -> General -> DigitMap:
(<**2>0[0123578]xx.|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1636>[2-9]xxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
Service Providers -> ITSP Profile B -> General -> DigitMap:
(!09xx.|0[0123578]xx.|(Mipd)|[^*#]@@.'@'@@.)
Leave the PHONE Port DigitMap and OutboundCallRoute unaltered. No User Defined DigitMap is needed.
SimonD:
Ron,
Thanks for the feedback. As I read more and see the examples you're providing this is beginning to start to make some sense. :)
I also went back and read the beginning of this thread which noted the faster the Obi can get an exact match the better it is hence why xx. isn't used alone.
So I looked in more detail at the UK calling plan (thanks Wikipedia http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom ) and figured with a little more work I could make the matching for the UK numbers I want to call much more specific to mimic the US defaults that are defined.
While this doesn't account for a couple of the anomalies (10 digit beginning 01 or 8 digit beginning 08) it should work for everything else (11 and 10 digit numbers) and I based it on what you suggested for the ITSP A and ITSP B previously but also added 00xx. for UK based international calls and kept the block for numbers beginning 09.
ITSP A (Default Call out via Google Voice)
(<**2>0[123578]xxxxxxxxx|<**2>0[58]xxxxxxxx|<**2>00xx.|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1636>[2-9]xxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
ITSP B (Sipgate UK)
(!09xx.|0[123578]xxxxxxxxx|0[58]xxxxxxxx|00xx.|(Mipd)|[^*#]@@.'@'@@.)
I'm gonna try this out tomorrow but just thought I'd post in case there's something I've missed and if nothing is wrong then in case it's useful for others wanting a UK digitmap with faster matching.
Thanks
Simon
RonR:
SimonD,
Looks like you're on a good path to me. Let us know how it turns out.
Ron
SimonD:
Ron/All
Seems to be working as expected - both US and UK dial patterns are recognized and it is definitely faster when using UK pattern numbers than the earlier option I originally started with above.
Following the pattern for allowing 7 digit dialing in the US I guess you can also do the same for UK dialing as well. In the updated example below I have UK area code 01444 defined such that you can 6 digit dial what are local numbers for the 01444 area code. Probably only useful if you're in UK and using it there all the time for UK calling.
ITSP A (Default Call out via Google Voice) General Digitmap
(<**2>0[123578]xxxxxxxxx|<**2><01444>[234568]xxxxx|<**2>0[58]xxxxxxxx|<**2>00xx.|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1636>[2- 9]xxxxxx|011xx.|(Mipd)|[^*#]@@.'@'@@.)
ITSP B (Sipgate UK) General Digitmap
(!09xx.|0[123578]xxxxxxxxx|<01444>[234568]xxxxx|0[58]xxxxxxxx|00xx.|(Mipd)|[^*#]@@.'@'@@.)
Thanks for all the info that's posted here - it's very useful as I explore the options the Obi gives. Hopefully my land line will complete it's first hope to T-Mobile on Monday before quickly moving it again to GV :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page