Using Google Voice for Long Distance and Local Carrier for Local Calls

<< < (12/13) > >>

BB88:
I tried your settings and it appears to be working. However, I still want to tinker things myself to keep SP1 as primary line, and I came up with the following, while keeping many settings as default:

Physical Interfaces -> PHONE Port -> DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|##|**70(Mli)|**8(Mbt)|**81(Mbt)|**82(Mbt2)|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**9(Mpp)|*98|(Mpli))
this is the device default setting

Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{911:sp1},{(<##:>):li},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{((00|011)xx.):sp1},{(1(250|530)[2-9]xxxxxx|(250|530|234|567)[2-9]xxxxxx):sp1},{(18(00|88|77|66|55)[2-9]xxxxxx|8(00|88|77|66|55)[2-9]xxxxxx):sp1},{(1[2-9]xx[2-9]xxxxxx):sp2},{([2-9]xx[2-9]xxxxxx):sp1},{([2-9]xxxxxx):sp1},{(Mpli):pli}
this is where I set up all the routing rules, inspired by RonR's OBi Configuration Utility

Physical Interfaces -> PHONE Port -> PrimaryLine: SP1 Service

Service Providers -> ITSP Profile A -> General -> DigitMap:
(911|[2-9]xxxxxx|[2-9]xx[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxx|(00|011)xx.|*98|[6-7]x*xxxxxxxxxxx.)
this is the default setting when I set it up through OBiTalk Compatible Service Provider freephoneline.ca)

Service Providers -> ITSP Profile B -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)
this is the default setting when I set it up through OBiTalk Approved Service Provider Google Voice)

Star Codes -> Star Code Profile A -> Code28 -> *95, Blind Transfer, coll($Bbxrn)

These settings also seem to do what I want.
I have a couple questions:
1. In the ITSP Profile B (Google Voice) DigitMap, I believe the <1>[2-9]xxxxxxxxx|011xx. are redundant, since they will be routed to SP1.
What does (Mipd)|[^*#]@@. do?  Again, they are the default settings from the automatic setup process.
2. Star Codes
In the PP DigitMap, there is a ***. Does it already cover the *98 in the later part of the PP DigitMap?
Also, Star Code28 has been changed to *95. Is *98 still valid?  Which one is needed in which DigitMap (PP and/or ITSP profile)?  I copied these setting from other's.

azrobert:
Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*(Mpli)):pp},{911:sp1},{(<##:>):li},{(<**70:>(Mli)):li},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{((00|011)xx.):sp1},{(<1>(250|530)[2-9]xxxxxx|1(234|567)[2-9]xxxxxx):sp1},{(18(00|88|77|66|55)[2-9]xxxxxx):sp1},{(1[2-9]xx[2-9]xxxxxx):sp2}

{(Mpli):pli} The primary line is redundant since all the checks are hard coded previously. Removed.
{([2-9]xxxxxx):sp1} 7 digit dialing not required. Removed.
{([2-9]xx[2-9]xxxxxx):sp1} Any 10 number not required. removed.
8(00|88|77|66|55)[2-9]xxxxxx 10 digit 800 numbers not required. Removed.
{(18(00|88|77|66|55)[2-9]xxxxxx):sp1} 800 numbers to SP1?
250 and 530 11 digits not required. Removed.
International calls to SP1?

{(1(250|530)[2-9]xxxxxx|(250|530|234|567)[2-9]xxxxxx):sp1}
This is invalid. Allows 11 digit 250 and 530. Allows all 10 digit area codes. Does not prefix 10 digits with "1". It was modified.

The whole SP2 DigitMap is not used and redundant. Unless you want to force a call out SP2 by dialing a **2 prefix.

(Mipd) is a User Defined Digit Map and is checking for an IP address dialed like xx*xx*xx*xx and changes it to xx.xx.xx.xx
[^*#]@@. is checking for a character string Not beginning with * or # usually a URI.
Both are usually not needed and should be deleted.

*** is used to access the Auto Attendant 2 for config commands.

There are two types of Star Codes. The codes in the Star Code profile are commands for the OBi to perform. The codes in the PP DigitMap are Star Codes sent to a provider. The Star Codes in the PP DigitMap get priority and will disable a matching code in the Star Code Profile. That is why a different number was assigned.

BB88:
{([2-9]xx[2-9]xxxxxx):sp1} Any 10 number not required. removed. Can I keep it for 10 digit dialing, or your <1> prefix take care of it?
8(00|88|77|66|55)[2-9]xxxxxx 10 digit 800 numbers not required. Removed. Can I keep it in case anyone want to call a 10-digit toll free, or is it invalid? I want to call from SP1, because many of these service numbers have Caller ID to verify I am calling from my primary number.
{(18(00|88|77|66|55)[2-9]xxxxxx):sp1} 800 numbers to SP1? Yes, I want to have 800 numbers to SP1 because many of these service numbers have Caller ID to verify I am calling from my primary number.
250 and 530 11 digits not required. Removed. Please see explanation below
International calls to SP1? Yes, I want to use the SP1 carrier to handle international call, because of called id.

{(1(250|530)[2-9]xxxxxx|(250|530|234|567)[2-9]xxxxxx):sp1}
This is invalid. Allows 11 digit 250 and 530. Allows all 10 digit area codes. Does not prefix 10 digits with "1". It was modified.
Sorry, I meant to have this:
{((250|530)[2-9]xxxxxx|1(250|530|234|567)[2-9]xxxxxx):sp1}
which allows 10 digit dialing on 250 and 530, and at the same time 11-digit on 250, 530, and a couple other area codes. The reason is even with the same area code, some are local calling and some are long distance for my previous PSTN carrier. I assume the new VOIP carrier will have the same rule.

Thanks again!

azrobert:
Some providers allow 10 digits, others don't.
It can't hurt to add the prefix like this:
{(<1>[2-9]xx[2-9]xxxxxx):sp1}

The 800, 250, 530, 234 and 567 10 digit tests are redundant and can be removed.
The above generic 10 digit test will include these.
If you keep them, add the "1" prefix.

If you want 7 digits to default to an area code do this:
{(<1250>[2-9]xxxxxx):sp1}

BB88:
Quote from: azrobert on January 09, 2015, 08:35:20 am

Some providers allow 10 digits, others don't.
It can't hurt to add the prefix like this:
{(<1>[2-9]xx[2-9]xxxxxx):sp1}

The 800, 250, 530, 234 and 567 10 digit tests are redundant and can be removed.
The above generic 10 digit test will include these.
If you keep them, add the "1" prefix.

If you want 7 digits to default to an area code do this:
{(<1250>[2-9]xxxxxx):sp1}



If I have this: {(<1>8(00|88|77|66|55)[2-9]xxxxxx):sp1},{(1[2-9]xx[2-9]xxxxxx):sp2}
Will both 10 and 11-digit 800 numbers got routed to SP1?

Navigation

[0] Message Index

[#] Next page

[*] Previous page