Dial plan explanation

<< < (34/41) > >>

bonita:
Quote from: ianobi on November 19, 2013, 08:28:50 am

bonita,

911 and 933 are normally dealt with by the Phone Port DigitMap and the Phone Port OutboundCallRoute. Assuming that 911 and 933 should route to sp3, then you should see something like this:

Physical Interfaces > PHONE Port 1&2 > DigitMap:
(… other rules …|911|933| … other rules …)

Physical Interfaces > PHONE Port 1/2 > OutboundCallRoute:
{ … other rules … },{(911|933):sp3},{ … other rules …}

This means that calls to 911 or 933 get dealt with directly with no reference to any other digit maps and no chance of delays or misrouting.



Thanks for the response. I appreciate your taking time to explain in detail.

Last night another user sent me a PM with a similar response and I found out that I had inadvertantly missed adding 933 in the DigitMap section. All my dial plans are working fine now.

bonita:
I have the following in the same OutboundCallRoute
{(1[2-9]xx[2-9]xxxxxx):sp2}
{(1555555xxxx):sp1}

I want to confirm if the order in which they are in the OutboundCallRoute plays an important role.

If I have these two in my OutboundCallRoute as follows:
(.....{(1[2-9]xx[2-9]xxxxxx):sp2}....{(1555555xxxx):sp1}.....) then all numbers seem to be dialed using SP2

However, if I reverse the order of these two in my OutboundCallRoute as such:
(.....{(1555555xxxx):sp1}.....{(1[2-9]xx[2-9]xxxxxx):sp2}....) then 1555555xxxx numbers go through SP1 and the rest of the numbers use SP2.

Thanks.

NOTE: Edited message above, after ianobi's response: corrected DigitMap to OutboundCallRoute

ianobi:
We need to be accurate about terminology here. In a digit map it's the best match that wins and gets matched. In an OutboundCallRoute or InboundCallRoute a complete number is compared with each rule from left to right and the first rule to match is used.

Your observation concerns OutboundCallRoutes and the order does matter. First rule from the left to match will be used.

um30:
Hi everyone,

I am new to Obihai and have been trying to set up my dialing plan for days now. I Was wondering if anyone could help me with a small issue.

My setup:

SP1: GV (used for my business with a separate number)
SP2: Anveo with E911 (Primary provider)
SP3: VoipJumper (cheaper than Anveo for international calls)

Using ObiCfg utility (thank you RonR), I was able to get almost everything working:

1. 911 and all North American calls routed to SP2
2. 011 routed to SP3
3. **1, **2, **3 route to SP1, SP2, SP3 respectively

However, I would like to be able to make calls using SP1 GV without dialing **1. Ideally, I would like to be able to dial 0 followed by area code and 7 digit number.

I tried using suggestion from http://www.toao.net/500-mangos-guide-to-configuring-an-obi100-obi110-and-obi202-ata

Code:

DigitMap: (<0:001>[2-9]xx[2-9]xxxxxx|001[2-9]xx[2-9]xxxxxx)

but that didn't work. I think GV does not actually accept 001-aaa-xxx-xxxx calls. Could someone point me in the right direction? I tried modifying Physical Interfaces -> Phone Line 1 Digit Map and Outbound Call Route, and ITSP Profile A and B.

This is the relevant part of the ObiCfg text output:
Code:

Physical Interfaces -> PHONE Port 1 -> DigitMap: (911|#|***|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**9(Mpp)|(Mpli))
Physical Interfaces -> PHONE Port 1 -> OutboundCallRoute: {911:sp2},{(<#:>):ph2},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{((00|011)xx.):sp3},{(Mpli):pli}
Physical Interfaces -> PHONE Port 1 -> PrimaryLine: SP2 Service

Service Providers -> ITSP Profile A -> General -> DigitMap: (<1408>[2-9]xxxxxx|<1>[2-9]xx[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxx)
Voice Services -> SP1 Service -> X_ServProvProfile: A
Voice Services -> SP1 Service -> X_InboundCallRoute: {ph1,ph2}

Service Providers -> ITSP Profile B -> General -> DigitMap: ([2-9]11S0|<1408>[2-9]xxxxxx|<1>[2-9]xx[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxx|(00|011)xx.)
Voice Services -> SP2 Service -> X_ServProvProfile: B
Voice Services -> SP2 Service -> X_InboundCallRoute: {ph1,ph2}

Service Providers -> ITSP Profile C -> General -> DigitMap: ((00|011)xx.)
Voice Services -> SP3 Service -> X_ServProvProfile: C
Voice Services -> SP3 Service -> X_InboundCallRoute: {ph1,ph2}


Thank you!

ianobi:
um30 - welcome to the forum.

The mango version looks very odd. Your request is slightly unusual, but I think the following should work:

Physical Interfaces -> PHONE Port 1 -> OutboundCallRoute: {911:sp2},{(<#:>):ph2},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(<0:1>[2-9]xx[2-9]xxxxxx):sp1},{((00|011)xx.):sp3},{(Mpli):pli}

Service Providers -> ITSP Profile B -> General -> DigitMap: ([2-9]11S0|<1408>[2-9]xxxxxx|<1>[2-9]xx[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxx|0[2-9]xx[2-9]xxxxxx|(00|011)xx.)

Navigation

[0] Message Index

[#] Next page

[*] Previous page