Credit to drgeoff, azrobert, ianobi, and all those who help each other selflessly
**Adapted from "A Tutorial on Digit Maps and Call Routing for OBi Devices"
Devices DO NOT need to be in same ObiTalk group
Definitions:
218211111 = Obi2182, Remote Obi to be routed over 212 PSTN line
212222222 = Obi212, Obi with PSTN directly connectd
aaa = first 4 digits of area code
aaabbbcccc = 10-digit phone number to call
7*aaabbbcccc = Dialing format when typing numbers into 2162 to call
7 = Dialing format to call 212 attached phone
/ = comment. ignore it everywhere and whatever is immediately after
Note: Designed to route by area code. If ALL numbers to be routed
out the 212 PSTN, replace both instances of [aaa] with xxx
Remember to remove brackets as well
//
ObiTalk(.)com speed dial 7 for the Obi2182 group.
**9212222222 /MAKE SURE YOU SET THIS, choose your number
//
Obi 212 / Voice Services / OBiTALK Service / InboundCallRoute
copy default route that includes all your ObiTalk-registered devices,
then clear both checkboxes and add to beginning:
{218211111>(Mli):li}, / don't forget the comma
{218211111>(<+:>xx.|xx.):li}, /alternative option, strips + from incoming number
//
Obi 212 / Voice Services / OBiTALK Service / DigitMap
unchanged, nothing to do here
(<ob>xxxxxxxxx|obxxxxxxxxx)
//
Obi 212 / Physical Interfaces / PHONE Port / DigitMap
unchanged, nothing to do here. All one line, no spaces
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|##|**70(Mli)|**8(Mbt)
|**81(Mbt)|**82(Mbt2)|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**9(Mpp)|(Mpli))
//
Obi 212 / Physical Interfaces / PHONE 1 / OutboundCallRoute
unchanged, nothing to do here. All one line, no spaces
{([1-9]x?*(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}
//
Obi 212 / Physical Interfaces / Line / DigitMap
unchanged, nothing to do here
(xxxxxxxS4|1xxxxxxxxxx|xx.)
//
Obi 212 / Physical Interfaces / Line / InboundCallRoute
unchanged, nothing to do here
ph
//
Obi 2182 / Voice Services / ObiTALK Service / DigitMap
[aaa] xxx xxxx| /add this after first (
//
Obi 2182 / Voice Services / ObiTALK Service / InboundCallRoute
unchanged, nothing to do here. Should be all your Obitalk(.)com registered
devices in 9-digit rrrrrrrrr format, separated by pipe |
{(rrrrrrrrr|sssssssss)>(xx.):LI},{(rrrrrrrrr|sssssssss):aa},{ph}
//
Obi 2182 / Voice Services / Gateways &TrunkGrps / Voice Gateway1 / Name
make up a name
vg1
//
Obi 2182 / Voice Services / Gateways &TrunkGrps / Voice Gateway1 / AccessNumber
PP(ob212222222) / Obi212 number
//
Obi 2182 / Voice Services / Gateways &TrunkGrps / Voice Gateway1 / DigitMap
unchanged, nothing to do here.
(xx.)
//
Obi 2182 / IP Phone / PHONE Settings / OutboundCallRoute
copy default route that includes all your ObiTalk-registered devices,
then clear both checkboxes and add to beginning:
{([aaa]xxx xxxx):vg1}, / don't forget the comma
//
Want to see all the challenges without these steps? Look here:
http://www.obitalk.com/forum/index.php?topic=18103.60