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

<< < (6/13) > >>

Glandoux:
Ok now i can make local phone calls, but not long distance call.

Here's my setup

SP1: GV
SP2: FPL

ITSP A (Googlevoice) digimap : (<1819>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.)
ITSP B (FPL) digimap : ([2-9]11S4|<819>[2-9]xxxxxxS4|[2-9]xxxxxxxxxS0|<**2>011xx.)

Physical phone digimap : ([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**1(Msp1)|**2(Msp2)|**9(Mpp)|(Mpli))

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

Like i said, i want to use FPL for local calls and googlevoice for longdistance.
Right now i can make local calls but when i do a long distance, i hear the noise of a busy line.

thanks,

Glandoux:
Ok, everything works now, i was able to fix mon long distance call by adding this to my ITSPB

(<**1>1xxxxxxxxxx)

Just one question though, what is 011xx. for?

Sophia:
That one I can answer  ;D
011 is the code for international dialing from North America (in Europe, this is 00).

Busthead:
Quote from: ianobi on November 03, 2012, 04:11:05 am

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


Hello,

I've replaced the default "Physical Interfaces->LINE Port->DigitMap" with:

([2-9]11S0|0|[2-9]xxxxxx|<530:>530xxxxxxx|18[06-8][06-8]xxxxxxx|<**1>1[2-79]xxxxxxxxx|<**1>011xx.)

The results are as follows:

Test1: 911 to reach emergency services: Have not tested
Test2: 0 to reach the PSTN operator: Call routed properly through PSTN
Test3: Seven digit 530 area code number: Call routed properly through PSTN
Test4: Ten digit 530 area code number: Does not funciton - Single ring, delay, and then "Call did not go through. Please try your call again" error message
Test5: Ten digit 800,866,877, or 888 area code number: Does not funciton - Single ring, delay, then busy signal
Test6: Eleven digit 530 area code number: Call routed properly through GV
Test7: Eleven digit 800,866,877, or 888 area code number: Call routed properly through PSTN
Test8: Eleven digit long distance number: Have not tested
Test9: **8 + seven digit local number: Call routed properly through PSTN
Test10: **8 + eleven digit long distance number: Does not funciton - "No call route available to complete call"

I don't understand why Test4, Test5, or Test10 are failing.

Looking at the "Status->Call History" after a Test4 call it appears that the last three characters are removed insteat of the first three: "5309021". Same on Test5: "8004444".

No clue why Test10 is failing - maybe I have to change the "PHONE->OutboundCallRoute"?

Any assitance would be much appreciated.

Thanks!

ianobi:
Busthead,

Your original Line Port DigitMap:

([2-9]11S0|0|[2-9]xxxxxx|<530:>530xxxxxxx|18[06-8][06-8]xxxxxxx|<**1>1[2-79]xxxxxxxxx|<**1>011xx.)

Test1: 911 to reach emergency services: Have not tested
This should be no problem - 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.

Test4: Ten digit 530 area code number: Does not funciton - Single ring, delay, and then "Call did not go through. Please try your call again" error message.
I suspect this rule [2-9]xxxxxx is matching the first seven of the ten digits dialled and sending out to line after the seventh digit. I will add a S4 delay in the proposed DigitMap.

Test5: Ten digit 800,866,877, or 888 area code number: Does not funciton - Single ring, delay, then busy signal.
Same problem as Test4, plus there is no route for ten digit numbers starting with 8.

Test8: Eleven digit long distance number: Have not tested
This should work fine through GV on sp1.

Test10: **8 + eleven digit long distance number: Does not funciton - "No call route available to complete call".
OBi is telling you the truth! Your digit map is designed to send long distance eleven digit numbers to GV. If you want the ability to use both, then you will need to change <**1>1[2-79]xxxxxxxxx to 1[2-79]xxxxxxxxx then long distance will go through PSTN unless you manually dial **1 followed by eleven digits. Or you make GV on sp1 your PrimaryLine, then we redirect all the PSTN numbers from there. I’ll assume leave PrimaryLine as PSTN for now. No need to change Phone Port OutboundCallRoute.

Proposed Line Port DigitMap:

([2-9]11S0|0|[2-9]xxxxxxS4|<530:>530xxxxxxx|8[06-8][06-8]xxxxxxx|18[06-8][06-8]xxxxxxx|<**1>1[2-79]xxxxxxxxx|<**1>011xx.)

Try this DigitMap and come back if needed for fine tuning or a complete rewrite  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page