Using Google Voice for Long Distance and Local Carrier for Local Calls
jimates:
I thought ianobi would be by last night to give you the answers. I sent him a pm, he will be here later.
Sophia:
Aww thanks :-* But really I am in no great hurry and it's good that I am forced to use my own rusty brain too ;D
ianobi:
Sophia,
I’m assuming that you have PSTN on your Line Port, Google Voice on sp1, something on sp2? Also, Phone Port Primary Line is set:
Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line
Leave the ITSP A and B DigitMaps at default.
To route the calls to the correct trunks (line, sp1 etc), use the Mpli (Map Primary Line). In your case this is the Line Port DigitMap:
Physical Interfaces -> LINE Port -> DigitMap:
([2-9]11S0|<250>[2-9]xxxxxx|250xxxxxxx|180xxxxxxxx|188xxxxxxxx|<**1>1[2-79]xxxxxxxxx|<**1>011xx.)
If you do have a service provider on sp2 through which you wish to send international calls, then:
Physical Interfaces -> LINE Port -> DigitMap:
([2-9]11S0|<250>[2-9]xxxxxx|250xxxxxxx|180xxxxxxxx|188xxxxxxxx|<**1>1[2-79]xxxxxxxxx|<**2>011xx.)
Calls will route as follows:
[2-9]11 -> three digit numbers starting with 2 to 9 > PSTN Line
7 digits -> Obi adds 250 > PSTN Line
10 digits -> that start with 250 > PSTN Line
11 digits -> that start with 180 > PSTN Line
11 digits -> that start with 188 > PSTN Line
11 digits -> that start with 1 but not 18 > SP1 Service
011+ -> SP1 Service or SP2 if you use the **2 version
911 calls are a special case due to this rule in your Phone Port OutboundCallRoute:
{(<#:>|911):li}
This means that 911 calls will be sent direct to the Line Port regardless of anything in any DigitMap.
The above DigitMaps mean that you do not need to dial codes (**1 etc) to route the calls, the DigitMaps do it for you. However, if you wish to override the DigitMaps, then you can still dial **1 etc.
Feel free to ask questions – we are all learning here :)
Sometimes my answers are a bit slow in coming as I am here when most of OBiLAND is asleep!
Edit: Refined 1xxxxxxxxxx to 1[2-79]xxxxxxxxx
tavie888:
Hello ianobi & sophia,
If I remember the user manual correctly, the exclamation mark "!" in the Digit Map in Sophia's Post#9 means preventing or blocking the calls following it:
!188x xxx xxxx (spaces for readability only, no spaces in reality)
I submit this post because I have had to block toll-free (18xx) calls from telemarketers to my GoogleVoice number, since the recipient is charged a toll.
Ianobi, please confirm if I am correct about the use of exclamation mark in DigitMaps.
Thanks
:)
ianobi:
tavie888,
Your general point is correct "!" is used to denote a barring rule. I assumed that in this context they must be typos ! used instead of | to separate one rule from another.
"!" can be useful in some contexts such as InboundCallRoutes, although there are other ways to create barring rules. DigitMaps mostly deal with outgoing calls. If you wanted to bar an outgoing route it seems simpler just to not include that route in the DigitMap.
Navigation
[0] Message Index
[#] Next page
[*] Previous page