From Nottinghack Wiki
Jump to navigation Jump to search

Linksys SPA2100

This device allows for connection of two analog phones, converting them into SIP devices. It's a small box (~12 x 12 x 3 cm). which is wall-mountable, and is intended to be left connected and powered while a phone extension (or two of them) are in use.


The rear panel of the box has the following sockets:

  • 2 x RJ-11 analog phone ports (plug in a regular analog phone here)
  • 1 x RJ-45 "Internet" port - for connecting to the network with the PBX
  • 1 x RJ-45 "Ethernet" port - pass through port. The SPA2100 performs NAT router functions by default on
  • 1 x 5V 2A DC power input (barrel connector)


The following configuration will get an extension working and able to dial other extensions. If all goes well, you should get dialtone and be able to start playing calls on the PBX.


  • Plug an analog phone into "Phone 1" RJ-11 socket (BT to RJ-11 adapter will likely be required)
  • Dial ****120# and note the IP address which is read back, e.g.
  • Point your web browser at the IP address you got in the previous step (e.g.
  • Click admin settings
  • In the Provisioning tab, turn off previsioning, click save button.
  • For each tab Line 1 and Line 2:
    • Set the following in the Proxy and Registration sub-section:
      • Proxy: IP address of FreePBX server
      • Register: yes
      • Register Expires: 120
    • In the Subscriber Information sub-section:
      • Display Name: Phone extension number from FreePBX's extension configuration (see below)
      • User ID: Phone extension number from FreePBX's extension configuration (see below)
      • Password: The "secret" from FreePBX's extension configuration (see below)
      • Use Auth ID: yes
      • Auth ID: Phone extension number from FreePBX's extension configuration (see below)
    • In the sub-section, set the following options to "no":
      • CW Act Code
      • CW Per Call Act Code
      • Block CID Act Code
      • CID Act Code
      • CWCID Act Code
      • Dist Ring Act Code
      • Attn-Xfer Act Code
      • CW Deact Code
      • CID Deact Code
      • CWCID Deact Code
      • Dist Ring Deact Code
    • Click save button

Minimal FreePBX Extension Configuration

  • Point your web browser at the FreePBX server
  • Select FreePBX Administration
  • Log in as an PBX admin user
  • Select "Extensions" from the Applications menu
  • Select Generic PJSIP Device from the device drop-down, and click submit
  • Set the following options:
    • User Extension: The number of the extension you want to configure
    • Display name: some description for the extension
    • Secret: some password which will be used to authenticate the SIP endpoint (requires at least two digits and two letters)
    • Link to a Default User: None (unless you want to access voicemail through the web interface)
  • Optionally enable voicemail for some funs.
  • Click the submit button at the bottom of the form
  • Click the red Apply Changes button in the main interface
  • If you have already configured the SPA2100, you may need reboot it by dialling ****732668# from the phone connected to the "Phone 1" RJ-11 connector.

First steps after config

Even with just a couple of extensions configured and nothing else, you can still do some fun things with FreePBX out of the box:

  • Dial extensions using the number followed by a # (I think the # is not necessary if you properly configure the Dial Plan, but I didn't get to that at time of writing), e.g. 123# to dial extension 123.
  • You can dial your own extension and you will be told it is busy. If you configured voicemail, you can leave yourself a message. :)
  • To access your own extension's voicemail, dial *97
  • To access another voicemail box dial *98 (password may be required)