Quote from: music5_5 on August 09, 2015, 08:49:27 PM
Hi guys,
I have just purchased obi202 device and set it up using my google account. I have also added my Localphone account settings. After adding the Server/password setting, localphone account shows register and active on obi. Now I am not sure how to route my calls using different numbers. This is what I want to do:
1. Any Canada/USA numbers to go thru GV
2. Any other numbers (such as 01191xxxx) should go thru Localphone.
I read some of the post which have similar setup but I am not sure. Can someone please help me with my setup?
Thanks a lot in advance,
My approach to an OBi202 dial plan is outlined in my notes. If I copy it for your needs and omit the bells and whistles, it would look like the following.
A few qualifiers:
o I am not familiar with Localphone outbound dialing requirements, so these are assumed and may need to be adjusted.
o I relegate GV to SP4... a lowest tier voice service. SP2 and SP3 are left open for future SIP voice services.
1. Active Trunk Digit Maps
SPn Services...
911 Emergency Services dialing is enabled on Localphone.
International dialing is disabled on GV.
SP1 (Msp1) = ITSP Profile A, Localphone server account = ([49]11||<1>(Mdid)|(00|011|!001)xx.)
SP4 (Msp4) = ITSP Profile D, Google Voice server account = ((Mdid)|001(Mdid))
PP1 OBiTALK Service...
Dial 4222 for OBiTALK Echo Test.
PP1 (Mpp1) = OBiTALK server (no account required) = (<4222:ob222 222 222>|<ob>xxx xxx xxx|obxxx xxx xxx)
TGn Trunk Groups...
Trunks are listed left-to-right, high-to-low priority, low-to-high cost routing, or as desired. Outbound will failover to the next available trunk permissible by that trunk's digit map.
TG1 Trunk Group1 = sp4,sp1,pp1
TG1 (Mtg1) = ((Msp4)|(Msp1)|(Mpp1))
TG2 Trunk Group2 = sp4,sp1,pp1
TG2 (Mtg2) = ((Msp4)|(Msp1)|(Mpp1))
2. Active Endpoint Digit Maps and Outbound Call Routes
PHn PHONE Ports and respective PLI Primary Lines...
These are nearly standard and do not need to be changed.
PH1 (Mph1) = OBi PH1 digit map = (**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**8(Mli1)|**81(Mbt1)|**82(Mbt2)|**9(Mpp1)|**0|***|#|##|[1-9]|[1-9][0-9]|(Mpli))
PH1 {Rph1} = OBi PH1 outbound call route = {(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**8:>(Mli1)):li1},{(<**81:>(Mbt1)):bt1},{(<**82:>(Mbt2)):bt2},{(<**9:>(Mpp1)):pp1},{**0:aa1},{***:aa2},{(<#:>):ph2},{(<##:>):li1},{(Mpli):pli}
PH1 PLI Primary Line = Trunk Group1
PH1 PLI (Mpli) = (Mtg1) ;automatic association, not set anywhere.
PH2 (Mph2) = OBi PH2 digit map = same as the full (Mph1) expression above
PH2 {Rph2} = OBi PH2 outbound call route = same as the full {Rph1} expression above except change {(<#:>):ph1} to barge into the other PHONE port
PH2 PLI Primary Line = Trunk Group2
PH2 PLI (Mpli) = (Mtg2) ;automatic association, not set anywhere.
3. Active User-Defined Digit Maps
(Mlabel) User-Defined Digit Maps...
Replace
npa with own area code.
900 Pay-Per-Call dialing is barred (!900).
(Mdid) = DID = (<
npa>[2-9]xx xxxx|([2-9]xx|!900)xxx xxxx|<1:>([2-9]xx|!900)xxx xxxx)
Summary
OBi Line1 PH1 PHONE1 Port outbound is routed to the Primary Line = TG1 Trunk Group1. Outbound will failover to the next available trunk permissible by that trunk's digit map. Trunk list:
o
SP4 Google Voice server account.o SP1 Localphone server account.
o PP1 OBiTALK server (no account required).
OBi Line2 PH2 PHONE2 Port outbound is routed to the Primary Line = TG2 Trunk Group2. Outbound will failover to the next available trunk permissible by that trunk's digit map. Trunk list:
o
SP4 Google Voice server account.o SP1 Localphone server account.
o PP1 OBiTALK server (no account required).
Local and long-distance will go out GV. If GV is down, it will go out Localphone. International will go out Localphone. OBiTALK will go out OBiTALK. Minimum-digit dialing is supported. Manual routing is supported but not required.
See the OBi Configuration section in my notes to see where the above dial plan settings are made.
Also set:
SP1 Service - SP1 Service::X_NoRegNoCall = checked ;speed up trunk group failover.
SP4 Service - SP4 Service::X_NoRegNoCall = checked ;speed up trunk group failover.
Check the OBi web interface Status - Call History to confirm dialing results when testing a dial plan.
OE