I don't like using OBiTalk to call other OBi's on your LAN.
The call goes up to the OBiTalk server and back to the other OBi.
It also adds another point of possible failure.
Using the below configuration the call only uses your local network.
You also don't have to do anything with COT.
Dial 100 to ring phone port#1 on OBi202#1
Dial 101 to ring phone port#2 on OBi202#1
Dial 200 to ring phone port#1 on OBi202#2
Dial 201 to ring phone port#2 on OBi202#2
Dial 202 to ring IP phone connected to OBi202#2
Dial 300 to ring phone port#1 on OBi200
Dial 301 to ring IP phone connected to OBi200
You should assign static IP addresses to all devices.
Hopefully, I didn't make any mistakes.
OBi202#1 (IP Address 192.168.1.100)
Service Providers -> ITSP Profile C -> SIP -> ProxyServer : 127.0.0.1
Service Providers -> ITSP Profile C -> SIP -> X_DiscoverPublicAddress: (unchecked)
Voice Services -> SP3 Service -> AuthUserName : OBi202a
Voice Services -> SP3 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP3 Service -> X_ServProvProfile : C
Replace your Voice Services -> SP3 Service -> X_InboundCallRoute with following:
{OBi202b|OBi200>100:ph},{OBi202b|OBi200>101:ph2},{ph}
Physical Interfaces -> Phone Port1 -> DigitMap
Add AFTER the beginning parenthesis: 101|200|201|202|300|301|
It will look like this:
(101|200|201|202|300|301|.....the current settings....)
Physical Interfaces -> Phone Port1
Add the following to the beginning of the OutboundCallRoute:
{101:ph2},{(Mp2p):sp3},
Physical Interfaces -> Phone Port2 -> DigitMap
Add AFTER the beginning parenthesis: 100|200|201|202|300|301|
It will look like this:
(100|200|201|202|300|301|.....the current settings....)
Physical Interfaces -> Phone Port2
Add the following to the beginning of the OutboundCallRoute:
{100:ph},{(Mp2p):sp3},
User Settings -> User Defined Digit Maps
Label: p2p
DigitMap: ((200|201)<:@192.168.1.101:5062>|202<:@192.168.1.111:5060>|300<:@192.168.1.102:5062>|301<:@192.168.1.112:5060>)_____________________________________________________________________________
OBi202#2 (IP Address 192.168.1.101)
w/IP Phone (IP Address 192.168.1.111)
Service Providers -> ITSP Profile C -> SIP -> ProxyServer : 127.0.0.1
Service Providers -> ITSP Profile C -> SIP -> X_DiscoverPublicAddress: (unchecked)
Voice Services -> SP3 Service -> AuthUserName : OBi202b
Voice Services -> SP3 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP3 Service -> X_ServProvProfile : C
Replace your Voice Services -> SP3 Service -> X_InboundCallRoute with following:
{OBi202a|OBi200>200:ph},{OBi202a|OBi200>201:ph2},{ph}
Physical Interfaces -> Phone Port1 -> DigitMap
Add AFTER the beginning parenthesis: 100|101|201|202|300|301|
It will look like this:
(100|101|201|202|300|301|.....the current settings....)
Physical Interfaces -> Phone Port1
Add the following to the beginning of the OutboundCallRoute:
{201:ph2},{(Mp2p):sp3},
Physical Interfaces -> Phone Port2 -> DigitMap
Add AFTER the beginning parenthesis: 100|101|200|202|300|301|
It will look like this:
(100|101|200|202|300|301|.....the current settings....)
Physical Interfaces -> Phone Port2
Add the following to the beginning of the OutboundCallRoute:
{200:ph},{(Mp2p):sp3},
User Settings -> User Defined Digit Maps
Label: p2p
DigitMap: ((100|101)<:@192.168.1.100:5062>|202<:@192.168.1.111:5060>|300<:@192.168.1.102:5062>|301<:@192.168.1.112:5060>)_____________________________________________________________________________
OBi200 (IP Address 192.168.1.102)
w/IP Phone (IP Address 192.168.1.112)
Service Providers -> ITSP Profile C -> SIP -> ProxyServer : 127.0.0.1
Service Providers -> ITSP Profile C -> SIP -> X_DiscoverPublicAddress: (unchecked)
Voice Services -> SP3 Service -> AuthUserName : OBi200
Voice Services -> SP3 Service -> X_RegisterEnable : (unchecked)
Voice Services -> SP3 Service -> X_ServProvProfile : C
Replace your Voice Services -> SP3 Service -> X_InboundCallRoute with following:
{OBi202a|OBi202b>300:ph},{ph}
Physical Interfaces -> Phone Port1 -> DigitMap
Add AFTER the beginning parenthesis: 100|101|200|201|202|301|
It will look like this:
(100|101|200|201|202|301|.....the current settings....)
Physical Interfaces -> Phone Port1
Add the following to the beginning of the OutboundCallRoute:
{(Mp2p):sp3},
User Settings -> User Defined Digit Maps
Label: p2p
DigitMap: ((100|101)<:@192.168.1.100:5062>|(200|201)<:@192.168.1.101:5062>|202<:@192.168.1.111:5060>|301<:@192.168.1.112:5060>)