A Homemade Basic Key System with OBI's: Part 3 - Configuration Hell

Post date: Jul 22, 2016 4:31:37 AM

In part 1 of this series, I explained the project and laid out the requirements. In part 2, I wiped the two OBi adapters, updated their firmware, and configured static IP's for the project. Now that the gear is primed, it's time to dig into the configs.

To recap the project, there are 3 major features:

    1. The ability for the OBi110 in the house to call (and be called by) the OBi100 in the garage using only the LAN. To place this call, dial '99#'.
    2. The ability for phones in either the garage or the house to make outgoing calls via whatever device is plugged into the Telco Line Port on the OBi110 in the house.
    3. The ability an incoming call from the PSTN to ring phones connected to both the OBi110 and the OBi100.

To proceed, it is assumed you have completed the following steps, as explained in part 2:

    1. Your computer is configured with a static IP (192.168.1.10)
    2. Your computer is plugged into a switch along with the two OBi adapters
    3. Both OBi adapters have been factory reset.
    4. Both OBi adapters have been given the following static IP addresses:
      • the OBi100 has to be set to 192.168.1.100
      • the OBi110 has to be set to 192.168.1.110
    5. Both OBi adapters have been flashed to the latest firmware available from obitalk.com.

While there are three specific features to this basic key system, there are lots of settings to change. I have them listed roughly in order of their placement on the OBi Expert configuration page. That's right, we are adventuring into the deep end of the OBi pool.

On your computer, bring up your browser and in two separate tabs, connect to:

  • http://192.168.1.100 - the web interface for the OBi100
  • http://192.168.1.110 - the web interface for the OBi110
  • the username and password should be 'admin'

Here are the settings that you need to change. I should have included screenshots of the web interface, but unfortunately I shipped the OBi's off to the lake before it occurred to me to write about the project. The settings are grouped together by the page that they appear on. Click 'save' at the bottom of the page and allow the OBi to reboot after modifying each page. This took me several days to get working and several posts to the OBiTalk forum to get the configuration right. The changes are cobbled together from my notes and forum posts, so hopefully I didn't miss anything. If I should have another pair of OBi boxes drop into my lap, I would love to test this configuration out. I'll just apologize in advance for you not being able to copy this and paste it onto your boxes and go.

OBi100 (201)

Service Providers > ITSP Profile A > SIP:

ProxyServer: 127.0.0.1

ProxyServerPort: 5060

OutboundProxy : 192.168.1.110

OutboundProxyPort: 5080

X_SpoofCallerID: checked

Voice Services > SP1 Service:

Enable: checked

X_ServProvProfile: A

X_InboundCallRoute: ph

X_RegisterEnable: unchecked

X_UserAgentPort: 5070

AuthUsername: 1234

CallerIDName: GARAGE

MaxSessions : 4

Physical Interfaces > PHONE Port:

PrimaryLine: SP1 Service

User Settings > Speed Dials:

99: sp1(202@192.168.1.110:5080)

OBi110 (202)

Service Providers > ITSP Profile A > SIP:

ProxyServer: 127.0.0.1

ProxyServerPort: 5060

X_SpoofCallerID: checked

Voice Services > SP1 Service:

Enable: checked

X_ServProvProfile: A

X_InboundCallRoute: {1234>(202):ph},{1234>(xx.):li}

X_RegisterEnable: unchecked

X_UserAgentPort: 5080

AuthUserName: 5678

CallerIDName: HOUSE

MaxSessions : 4

Physical Interfaces > PHONE Port:

PrimaryLine: PSTN Line

Physical Interfaces -> LINE Port -> InboundCallRoute

{ph,sp1(1234@192.168.1.100:5070)}

User Settings > Speed Dials:

99: sp1(201@192.168.1.100:5070)

Troubleshooting calling problems is a total pain because there are two machines with different configs in the mix. Also, phones don't pop up errors the way that computers do, so it can be hard to figure out what the problem is, and what box is causing it. Here are a few tips that can help you

  1. First make sure that the two boxes can call each other using the speed dial, then worry about pstn calls.
    • Place a call from the 100 to the 110, make sure that the 110 rings and that you have two way audio once you pick up the call
    • Place a call from the 110 to the 100, make sure that the 100 rings and that you have two way audio once you pick up the call
  2. If a call fails and you get a voice telling you the call can't be completed, then the problem is with the OBi that you are calling from. This is probably a misconfiguration of either your SP1 service, or of the speed dial.
  3. If a call fails with a busy signal, then the problem is with the OBi that you are calling to. This is probably an issue with the Inbound Route on the box you are trying to ring.
  4. Calls from the OBi100 to the PSTN via the OBi110 will take about 12 seconds to connect and ring. This is normal, and if you really want to dig into shortening the time, or if you are using an Ooma as your PSTN line, read this.
  5. Don't be afraid to nuke it from orbit and start over. Sometimes, that's the only way to be sure. :-)