This is a continuation of a previous topic here:
http://www.obitalk.com/forum/index.php?topic=5086.0I thought of a scheme for calling extensions.
Each extension would be assigned a unique 2 digit number, first digit being the OBi#. If there are 2 OBi's and an ATA on the same LAN you can assign either OBi# as the first digit of the ATA extension number. The Speed Dial# corresponds to the extension number.
Assume the following with extension numbers in parenthesis.
OBi#1 on Lan#1
OBi110 (10) OBi-ID = 200100001
ATA (11)
OBi#2 on Lan#2
OBi202 (22,23) OBi-ID = 200100002
ATA (24)
Common config for both OBi's:
SpeedDial91 = PP(ob200100001)
SpeedDial92 = PP(ob200100002)
User Defined DigitMap ud2:
(<1:91*>xx|<2:92*>xx)
SP2 X_InboundCallRoute:
{(userid)>(10):ph},},{(user)>(<91*>11):pp},{(userid)>(22):ph},{(userid)>(23):ph2},{(user)>(<92*>24):pp},.............
Note: For extensions "11" and "24" the "91*" and "92*" point to speed dial numbers.
OBiTalk InboundCallRoute:
{(2xxxxxxxx)>(10):ph},{(2xxxxxxxx)>(11):sp2(user@192.168.1.100:5062)},{(2xxxxxxxx)>(22):ph},{(2xxxxxxxx)>(23):ph2},{(2xxxxxxxx)>(24):sp2(user@192.168.1.110:5064)}
All Phone DigitMaps = ((Mud2)|............)
OBi110 Config:
SpeedDial10 = 10
SpeedDial11 = sp2(user@192.168.1.100:5062)
SpeedDial22 = 222
SpeedDial23 = 223
SpeedDial24 = 224
OBi202 config:
SpeedDial10 = 110
SpeedDial11 = 111
SpeedDial22 = 22
SpeedDial23 = 23
SpeedDial24 = sp2(user@192.168.1.110:5064)
OBi202 Phone#1 OutboundCallRoute = {(23):ph2},.........
OBi202 Phone#2 OutboundCallRoute = {(22):ph},...........
** end of config **
OBi#1 DigitMap will translate Speed Dial23 from "223" to "92*23".
It would then route "23" to OBi#2.
OBi#2 OBiTalk InboundCallRoute would ring ph2.
All other distant extensions would work in a similar manner.
I included all rules in both OBi's.
The rules that don't apply for an OBi would never be used.
I did this to keep the configs as close to the same as possible.
I only have one OBi110, so I can't completely test this.
Edit:
With the help of ianobi I believe the above configuration has been completely tested.