1. Set a static IP address for your Obi 110 device:
Addressing Type: Static
IPAddress: Pick an IP Address for your device
Note: Setting up a static IP address is not required for this to work. However, giving your Obi 110 device a static IP address makes it easier to find in the future and to make configuration changes.
2. Set-up the Obi 110 as an FXO Port (i.e., to allow you to connect a phone line to the LINE port and then make and receive calls on it using your PBX):
Access your OBI Device's web-interface and then locate and change the following settings:
ITSP Profile B
Proxy Server: YOURPBXIPADDRESS
Note: It is not clear to me that the X_SpoofCallerID setting is necessary, but the phone I currently use does not have Caller ID so I can’t test it.
Note: the AuthUserName should NOT be your phone number. It must match with the trunk name used when you set-up the trunk in FreePBX (in the next step).
Note: Change 2125551212 to the phone number of the line that will be attached to your LINE port.
Note: This is how long the Obi 110 will allow the phone to ring before giving up on waiting for Caller ID. If the Obi 110 gets a Caller ID signal during this period, it immediately puts the call through. If you do not have Caller ID, you may wish to set this to 0.
Note: My POTS line can sometimes take longer to pull a dial tone because I have an alarm on it. You may not need to change this figure from the default.
Note: You don’t need to change the above two settings either, but your calls will go out faster if you do.
PSTN Disconnect Detection:
Note: The above increases the amount of time that the Obi will wait to disconnect a call if it hears silence. 600 equals ten minutes. You may not want to change the default.
Note: You may need to change this to eliminate echo problems. Good luck!
Note: You don’t need to change the above, but if you experience echo, you might want to reduce one or both of them.
3. Set-up a Trunk in FreePBX:
Now, you need to tell FreePBX how to make and receive calls from the Obi 110’s connected line. You start by creating a SIP trunk:
Trunk Name: Obitrunk1
Outbound Caller ID: 2125551212
Note: Change 2125551212 to whatever your outbound Caller ID actually is. This setting doesn’t actually change your Caller ID, but it may be used in FreePBX’s Call Detail Records.
Maximum Channels: Blank
Dialed Number Manipulation Rules:
Note: The Dialed Number Manipulation Rule above isn’t necessary, but I use it to prevent users from dialing 411.
Trunk Name: OBITRUNK1
Note: The Trunk Name above (the second one in FreePBX) must match the AuthUserName that you entered when you set-up the FXO Port in the Obi 110.
The “username” above must match the Trunk Name and the AuthUserName you entered when you set-up the FXO Port in the Obi 110.
The secret you enter above must match the AuthPassword you entered when you set-up the FXO Port in the Obi 110. It does not need to be “FXOPASSWORD”. You can select any password you like.
4. Set-up an inbound route in FreePBX
The Inbound Route in FreePBX tells FreePBX how to route calls that ring in to the Obi 110.
DID Number: 2125551212
NOTE: This must match the number you put in the Obi 110 FXO setup (above) inside the parenthesis in the InboundCallRoute after you entered SP2(. Normally, it should be the phone number of the line attached to the LINE port of the Obi 110.
CID name prefix: POTS-
NOTE: You can put whatever you want in the above field. I like to have POTS- to indicate that this call came in on POTS (Plain Old Telephone Service) line.
Set Destination: Ring Group/Extension of Your Choice
6. Set-up an Outbound Route in FreePBX
Route Name: 81DialsPOTS
Trunk Sequence: OBITRUNK1
Note: You can obviously set-up any outbound route you want. This route allows you to force calls to the Obi device by dialing 81. The very first line will allow you to get a dial-tone if you dial 81 by itself. If you don’t want that ability, delete line that reads: 81|
If you want to make the dialing code something else, just change 81 wherever it appears to whatever you want it to be (i.e., 081).
Route Name: EMERGENCY
Trunk Sequence: OBITRUNK1
Note: This route forces emergeny calls, i.e. 911 calls, to go out over the Obi 110.