Hi,
I have two Obihai device (Obi202 + obi200), one in the US and one in China. GV is blocked in China but obitalk does not appear so. Is it possible to
1) Setup both GV accounts in obi202 (US) as SP1 and SP2.
2) Setup incoming rules for obi202 for all calls to SP2 forward to obi200 (China)
3) In the obi200 (china) device, setup all outgoing calls to forward to obi202 and then use SP2.
Thanks a lot! I tried to read the instructions about digimap and routing but could not find out a way to do what I wanted.
OBi202
Voice Services -> SP2 Service -> X_InboundCallRoute: pp(510000200)
Voice Services -> OBiTalk Service -> InboundCallRoute: {510000200>(Msp2):sp2},{ph}
Change 510000200 to the OBi number of the OBi200 in China
OBi200
Physical Interfaces -> Phone 1 Port -> OutboundCallRoute:
{(<510000202*>(Mpli)):pp},{(<##:>):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},{(Mpli):pli}
Voice Services -> OBiTalk Service -> InboundCallRoute: ph
Change 510000202 to the OBi number of the OBi202
OBi202
Voice Services -> SP2 Service -> X_InboundCallRoute: pp(510000200)
pp is the OBiTalk Network, so this will route inbound calls on SP2 to OBi Number 510000200 via the OBiTalk network
Voice Services -> OBiTalk Service -> InboundCallRoute: {510000200>(Msp2):sp2},{ph}
This is checking for a call from the OBiTalk network with OBi Number 510000200
(Msp2) is checking if the call contains an outbound number that matches the ITSP_B/SP2 digitMap
If both of the above are true then the call is routed to SP2, otherwise the call is routed to the phone1 port
OBi200
{(<510000202*>(Mpli)):pp}
(Mpli) points to the Primary Line's DigitMap
The default Primary line is SP1, so the above is checking if the dialed number matches a rule in the ITSP A DigitMap
If you want to use the ITSP B DigitMap change (Mpli) to (Msp2)
If there is a match then the dialed number will be prefixed with "510000202*" and routed to the OBiTalk network
If you dial 18005551212 then 510000202*18005551212 will be sent to the OBiTalk network
This is the format needed to route an outbound call to another OBi via the OBiTalk Network
Thanks! Works Great!