International number prefix replacement: 00 to 011

(1/2) > >>

MichaelX:
Hi,

I'm new to Obi. Got an Obi100, use SP1 for Google voice and SP2 for LocalPhone. I use GV for all American calls and LocalPhone for international calls.

LocalPhone requires 00 as prefix for international call but I've used to 011. Is there an easy way in digitmap or other place to replace it automatically? e.g. dial 011xx. and Obi replace it automatically to be 00xx. to SP2.

Here are my settings. Any suggestion to simplify it is also welcome.

Physical Interfaces ->PHONE Port -> OutboundCallRoute:  {(00|011xx.):sp2},

Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|<**2>00xx.|<**2>011xx.|(Mipd)|[^*]@@.'@'@@.)
   
Service Providers -> ITSP Profile B -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|00xx.|011xx.|(Mipd)|[^*]@@.'@'@@.)

aaa is my area code.

Thanks,
Michael

ianobi:
MichaelX - welcome to the forum.

There’s no need for this extra rule in the OutboundCallRoute {(00|011xx.):sp2} as it’s already contained within this rule {(<**2:>(Msp2)):sp2} in the default OutboundCallRoute. In fact you put the required “00.” Into the ITSP Profile B DigitMap. For this purpose Msp2 = ITSP Profile B DigitMap – yes I know it’s confusing at first   :)


In fact you need very little change. Leave the OutboundCallRoute at default:

Physical Interfaces ->PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli}


Small changes here, as LocalPhone does not accept 011, then no point in sending it in that direction:

Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|<**2>00xx.|<011:**200>xx.|(Mipd)|[^*]@@.'@'@@.)

Service Providers -> ITSP Profile B -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>[2-9]xxxxxx|00xx.|(Mipd)|[^*]@@.'@'@@.)


The small downside with this type of setup is that if LocalPhone becomes unavailable, then you cannot force international calls onto GV. There are ways around this, but they are a bit more complex. If it’s an issue post back and we can sort something out.

As always, full explanations of how your digit maps work can be provided, but I find most people fall asleep before reaching the end of my explanations. It must be the way I tell them   :D

MichaelX:
Hi ianobi,

Thanks a lot for the detail explanation and instructions. It's very clear and easy to follow.  :)

I'd like to read documents about how digitmap and other settings work in obi settings. Appreciate if you have pointers of them.

Thanks,
Michael

Shale:
http://www.obihai.com/OBiAdminGuide.htm is not as clear or accurate as ianobi, but you still may find it to be useful.

MichaelX:
Thank you.

Quote from: Shale on June 10, 2013, 01:58:31 pm

http://www.obihai.com/OBiAdminGuide.htm is not as clear or accurate as ianobi, but you still may find it to be useful.

Navigation

[0] Message Index

[#] Next page