DialPlan For Mexico

(1/4) > >>

hayloc:
Hey I tried to set up a dialing plan with SP1 as my main and my LINE Port for local calls here in Mexico, but I don't think I got it quite right.  Here are my settings:

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

Service Providers -> ITSP Profile A -> General -> DigitMap:

(<1>[2-9]xxxxxxxxx|1[2-9]xx[2-9]xxxxxx|<**8>xxxxxxxx|<**8>01xxxxxxxxxx|<**8>133xxxxxxxx|<**8>01800xxxxxxx|011xx.|xx.|(Mipd)|[^*]@@.'@'@@.)

Physical Interfaces -> LINE Port -> DigitMap:

(0xx|xxxxxxxx|01xxxxxxxxxx|133xxxxxxxx|01800xxxxxxx|xx.)


What I wanted to accomplish was all US calls go through SP1 (Google Voice)
and Calls within Mexico to go through the LINE Port
xxxx-xxxx [Local 8 digit Calls]
01(xx)xxxx-xxxx
1(xx)xxxx-xxxx
044(xx)xxxx-xxxx
01800-xxxx-xxx
060 [Local Police]
066 [Local 911 Service]
071 [Local Electricity]

RonR:
Since Mexico doesn't follow the North American Numbering Plan (NANP), there are conflicts that make it impossible to automatically route calls based on the dialed number.  I would suggest the following:


Physical Interfaces -> PHONE Port -> DigitMap:

([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|0xx|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Physical Interfaces -> PHONE Port -> OutboundCallRoute:

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

Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line

Physical Interfaces -> LINE Port -> DigitMap:

(0xx|xxxxxxxx|01xxxxxxxx|01xxxxxxxxxx|1xxxxxxxx|1xxxxxxxxxx|044xxxxxxxx|044xxxxxxxxxx|<**1>00xx.)

Service Providers -> ITSP Profile A -> General -> DigitMap : (<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|(00|011)xx.)


                   0xx  ->  LINE Port
              8 digits  ->  LINE Port
 01 + 8/10 digits  ->  LINE Port
   1 + 8/10 digits  ->  LINE Port
044 + 8/10 digits  ->  LINE Port
                   00+  ->  SP1 Service

Dial US/Canada numbers through Google Voice (SP1) using **1 + number or 00 + 1 + number

hayloc:
That setup works better.  I was going nuts trying different things out.  Thanks so much for your help.

ChuckHL:
Thanks a lot RonR for the info. I was able to setup my Obi110 to work as I wanted thanks to your reply to Hayloc.

I will share my setup in case anyone else is also interested (its almost identical to RonR original info with few minor tweaks). If anyone sees a better way to improve it, I'm all ears to your comments. And thanks again to RonR

Physical Interfaces -> PHONE Port -> DigitMap:
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|06x|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))

Personally, I didn't see any difference between having 06X in the rule or simply not having it at all. The only reason I put it is since the original rule (default from ObiTalk) had 911 (which is for emergency services) I thought I could do the same with 06X since all emergency services in Mexico start with 06X (060 - Police, 065 - Red Cross, 066 - Emergency services).

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

Same comment as above regarding 06X

Physical Interfaces -> PHONE Port -> PrimaryLine : PSTN Line

Physical Interfaces -> LINE Port -> DigitMap:
(0xx|xxxxxxxx|01xxxxxxxx|01xxxxxxxxxx|1xxxxxxxx|1xxxxxxxxxx|044xxxxxxxx|044xxxxxxxxxx|<**1>00xx.)
EDITED:
(0[2-3]x|0[5-8]x|04[0-3]|04[6-9]|[1-9]xxxxxx|01xxxxxxxxxx|044xxxxxxxxxx|045xxxxxxxxxx|<**1>0[09]xx.)
(0[2-3]x|0[5-9]x|04[0-3]|04[6-9]|[1-9]xxxxxx|01xxxxxxxxxx|044xxxxxxxxxx|045xxxxxxxxxx|<**1>00xx.)


I didn't leave the 0XX rule since if by mistake a person dials 01x (for long distance) or 044,045 (for cell phones) and waits a bit before dialing the rest of the digits, the call will start and will fail to complete the rest of the digits.

Service Providers -> ITSP Profile A -> General -> DigitMap :
Left default configuration from Obitalk.

What is supposed to do (and so far is working for me):

                   0xx  ->  LINE Port  
                           (If you dial a 3 digit number starting with zero with the exceptions of 01X, 044, 045, 09X,
                           and 00X, it will try to connect you immediately without waiting for more digits)
             7 digits  ->  LINE Port (The first digit cannot be zero)
                           (Since I don't leave in Mexico's capital, everywhere else phones are 7 digits based
                           and 3 digits area code based)
    01 + 10 digits  ->  LINE Port (Long distance land line)
   044 + 10 digits  ->  LINE Port (Local Cell Phones)
   045 + 10 digits  ->  LINE Port (Long distance Cell Phones)
                   09+  ->  SP1 Service  (09 is for operator assisted international calls which I want to disable
                                                  and treat the same as 00 calls)
                   00+  ->  SP1 Service  (00 is for international calls)

Dial US/Canada numbers through Google Voice (SP1) using 00 + 1 + number or 09 + 1 + number
I personally also have a CallCentric account which does offer very cheap international rates and I have it on my device as SP2.

Additional helpful codes:
**1      ->        Dial through SP1 (in my case Google Voice). Digitamap rules for SP1 will apply.
**2      ->        Dial through SP2 (in my case CallCentric). Digitamap rules for SP2 will apply.
**8      ->        Dial through your landline. Digitamap rules for landline will apply.
**9      ->        Dial through your Obitalk to other Obitalks
#         ->        Connect directly to your landline. It is like picking up your landline directly without ObiTalk interfering).


Mexico Service numbers
#    Services
020    Operator-assisted domestic collect call
030    Local time
031    Wake up service
040    Information / directory
050    Phone company hotline
060    Police
065    Red Cross
066    Emergency services
070    City hotline (not available in some cities)
071    CFE hotline (electric company)
080    Emergency services
090    Operator-assisted international collect call

Have a good day.

I had to edit this post since dialing 09xx. did not work. For some reason the call does go to my SP1 but the 9 gets appended and does not work as expected. If I find how to fix it will post it, or if someone knows, I hope they can pitch in a solution for what I tried.

ianobi:
Here are a couple of alternatives, that you might want to consider:

Physical Interfaces -> LINE Port -> DigitMap:
(0[2-3,5-9]x|04[0-3,6-9]|[1-9]xxxxxx|01xxxxxxxxxx|044xxxxxxxxxx|045xxxxxxxxxx|<**1>00xx.|<09:**100>xx.)

This one combines ranges, so the first four rules become two rules. The last rule means if you dial 09xx. it will be transformed into **100xx. which will send it to sp1 in the same format as this rule <**1>00xx.


Physical Interfaces -> LINE Port -> DigitMap:
(0xxS4|[1-9]xxxxxx|01xxxxxxxxxx|044xxxxxxxxxx|045xxxxxxxxxx|<**1>00xx.|<09:**100>xx.)

This one brings back the “0xx” rule, but adds a four second delay. If you are dialling a number longer than three digits, so long as you don’t pause for more than four seconds after the first three digits, then all will be ok. “06x” will be sent out with no delay because of your original configuration.

Navigation

[0] Message Index

[#] Next page