VoIP > VoIP Setup Guides > How to Setup VoIP on Linksys SPA - 3000 ATA

Sipura 3000 – This ATA is discontinued and has been superseded by the. The only documentation publicly accessible is the Sipura ATA User guide for firmware v2.0. Linksys allows public download of documentation and software on their website. /admin/advanced where the (sipura ip address) is the IP address you obtained in Step 4 above. Now select the 'EXT 1' tab at the top of the page. Enter your user information from Step 1. Now select the EXT 1.


How to Connect the Device?

Sipura phone adapter has one RJ-45 connector, two RJ-11 connectors and a power-supply jack. Connect the RJ-45 input to the network you are using. The first RJ-11 input labelled ‘Phone’ has to be connected to a regular PSTN phone and the second RJ-11 input labelled ‘Line’ is to be connected to a regular PSTN phone line (if you do not plan to use regular phone line you can escape this step). The power-supply jack has to be connected to the electrical network. If everything is properly connected, the green light must be blinking.


Configuration of the VoIP

The basic network settings have to be done via the phone. For other adjustments, you can use the Sipura adapter web interface.

To enter the Sipura Configuration Menu you have to press the Star button four times (* * * *).

Dial Action


        • Enter Menu

Explanation: when you hear ‘Sipura configuration menu’ press option followed by the pound key or hang up.


100# Check DHCP

Explanation: you will hear whether your DHCP is enabled or disabled.


101# Set DHCP -> to disable press ‘0’ and to enable press ‘1’

Explanation: press option followed by the pound key.


110# Check IP address

Explanation: press option followed by the pound key.


111# Set IP address -> enter the IP address using phone’s keypad numbers and * (star) for decimal point.

Explanation: enter the IP address followed by #. If DHCP is disabled you will hear ‘Invalid Option’.


120# Check Network Mask

Explanation: press option followed by the pound key.

Sipura


121# Set Network Mask -> enter network mask using phone’s keypad numbers and * (star) for decimal point.

Enter network mask followed by #. If DHCP is disabled you will hear ‘Invalid Option’

130# Check Gateway

Explanation: Enter option followed by pound key


131# Set Gateway -> enter the gateway address using phone’s keypad numbers and * (star) for decimal point.

Explanation: Enter the gateway address followed by #. If DHCP is disabled you will hear ‘Invalid Option’


If you have DHCP you can just check the Sipura’s IP address from the Configuration Menu with 110#. When you have the IP address you can make all further adjustments from the web interface. The URL will be http://IP_address/


Adjustments for the VoIP

You can login to the web interface as a user or as an administrator. Both privileges have basic and advanced settings and you can also set password for each of them. However for basic purposes it will be sufficient to configure the basic settings, by logging in as administrator. The screenshot given below depicts how the web interface looks like:



In the default tab – Info, you will your system information (DHCP settings, IP address, primary and secondary DNS address, Gateway, Network mask and host name), product information (product name and serial number, firmware and hardware version, MAC address), system status (current time, broadcast packages and bytes – send, received and dropped, RTP packages and bytes – send, received and dropped, SIP messages and bytes – send and received) and line status and PSTN line status. When you open the site for the first time you will have to properly configure the setting. In order to start configuring the settings move to the next tab named ‘System’. Please refer the following screenshot.


Example DNSs being used


In this tab, you can adjust your network and internet settings. You can enable web server and set a password for the user account. According to the internet connection type you can choose between enabled and disabled DHCP. As it is preferable in most cases to set a static IP address, you can set the DHCP to ‘No’. Then set the IP address.

Example: IP address 10.10.0.24 with proper network mask 255.0.0.0 and gateway 10.0.0.1.

For the optional network settings you can just set a host name, domain if you are in domain and DNS. In this scenario we have set Sipura for the hostname and DNS as 10.0.0.22.

Note: When you submit the changes you made note that if you had changed the IP address for the Sipura, the URL will also change. However it will remain http://IP_Address/

No changes are required in the Next tab - SIP settings. Nevertheless, if desired you can make the changes even though the default setting are fine.



Tab - ‘Regional’ is for setting regional date and time.


As you can see in the above screenshot, the correct date and time in the required format have been set and the time zone has been adjusted.

In the Line 1 tab, you can set a user who is registered in Asterisk and who can use the phone. Given below is a screenshot of the tab:


The most important step, in order to register the user, is to enable the line by selecting Yes in the Line Enable drop down. Leave the SIP Port as set by default to 5060. In Proxy and Registration set the proxy to your SIP server which is sip1.exetel.com.au and choose ‘yes’ in the Register drop down. In the Subscriber Information section, register the user you have in Asterisk.

For Advance configurations, you may use the following to access the configuration: - /etc/asterisk/sip.conf

Note: It is important to reload asterisk every time you change a setting in order to update the change.

Furthermore, in Line 1 tab you can choose audio codec:

  • The default codec works fine in general - G.711uLaw
  • For ADSL2 users you may use G.711u and this depends on the bandwidth you are using.
  • For ADSL1 users the recommended codec is G.729


You now have the phone successfully configured for VoIP calls.

Retrieved from 'https://exewiki.exetel.com.au/index.php?title=How_to_Setup_VoIP_on_Linksys_SPA_-_3000_ATA&oldid=5701'

spaconf is a tool which can be used with an analog phone adapter (ATA) such as the Sipura SPA 3000 and Linksys PAP2. These devices are normallyconfigured via a web interface, but this tool allows you to read theconfiguration from the device and store it in a text file, or take atext file and copy the configuration to the device.

Why would you want to use this?

  • you can back up your configuration to a computer
  • you can more easily swap configurations with other users
  • you can compare configurations easily (using diff)
  • you can use this tool to update your configuration programmatically(for different times of day, etc.)
  • you can store your configuration in a source control system
  • you prefer editing text files to using web interfaces

spaconf is written in python and should run anywhere python runs (Unix, Windows, Mac, etc.).

It requires Python 2.3 or newer.

Home page:
http://www.opensky.ca/~jdhildeb/software/spaconf/
Download:

spaconf is available as source code in .tar.gz format (requires python to run) and as a Windows standalone executable (choose the .zip file).

All downloads are available from:
http://www.opensky.ca/~jdhildeb/software/spaconf/downloads/
Sample config file:
http://www.opensky.ca/~jdhildeb/software/spaconf/spa3000.txt

usage: spaconf.py [-nq] <src> [<dest>]

spaconf.py can read the active configuration from a Sipura SPA or Linksys PAP2 analog telephone adapter (ATA) and store it in a text file, or can take an existing text file and write that configuration to the ATA.Configuration options are stored as key-value pairs.

One of <src> or <dest> should be a local file path, and the other should be a URL to your ATA with the username and password embedded.If <src> or <dest> is a hyphen (-), standard input or output is used.<src> can also be a key-value pair (i.e., key = value).

Sipura 3000 Firmware

Options:

-n, --nobootDo not reboot the ATA after configuring it.
-q, --quietDo not print informational messages.

Sipura 3000 Firmware List

Examples:

Write ATA config to standard output:
spaconf.py http://admin:[email protected]/

System Message: WARNING/2 (README.txt, line 61)

Definition list ends without a blank line; unexpected unindent.

or spaconf.py http://admin:[email protected]/ -

Copy ATA config into a config file:
spaconf.py http://admin:[email protected]/ ata.config
Or use an explicit IP if necessary:
spaconf.py http://admin:[email protected]/ ata.config
Copy a config file to the ATA device (no reboot afterward):
spaconf.py --noboot ata.config http://admin:[email protected]/
Copy config options from standard input to the ATA device:
spaconf.py - http://admin:[email protected]/
Set a single option (key/value pair):
spaconf.py key = value http://admin:[email protected]/

System Message: WARNING/2 (README.txt, line 77)

Definition list ends without a blank line; unexpected unindent.

or spaconf.py key value http://admin:[email protected]/

Notes:

When reading a config from an ATA, this script unfortunatelycannot retrieve the passwords. They appear as stars ('****'). It is however safe to write such a configuration back to the device; such passwords will be ignored, and the passwords in the device will be left unchanged. If you edit a config file tocontain a (non-star) password, however, it will be changed.

System Message: WARNING/2 (README.txt, line 80); backlink

SipuraInline strong start-string without end-string.

System Message: WARNING/2 (README.txt, line 80); backlink

Inline strong start-string without end-string.

It is not necessary that a config file contain key-value pairsfor every option supported by the ATA. Any options not present will not be changed.

Lines beginning with # in a config file are taken as comments andignored. Lines beginning with ! are printed to standard out whenthe config file is restored to an ATA.

Sipura 3000 Firmware

Single and double quotes are permitted around option values (singlequotes are used in generated files) but may be omitted. When usinga key-value pair in the command, it is good practice to use singlequotes around the value to keep the shell from munging it.

Sipura 3000 Firmware

This program has been tested with the Sipura SPA 3000 (firmwareversions 2.0.13g and 3.1.3), and with the Linksys PAP2 (firmware 3.1.9 and 5.1.5). Your mileage may vary.

Changelog:
2008-01-02

Release 0.3.

Huge thanks to Jerry Kindall for patches which:
  • add better support for Linksys PAP2 devices
  • fixed bug where spaconf couldn't handle values containing '='
  • allow stdin/stdout to be used for config files
  • allow the reboot to be suppressed
  • more verbose output (and --quiet option)
  • script returns an error code (0 is success)
  • allow you to set a single configuration value from command line

Sorry, no windows executable for this version yet.

2006-04-11

Release 0.2.

Added alternate URLs for compatibility with Linksys PAP devices.

2005-12-29
Initial release (0.1).
Firmware
Feedback:
Please send me comments, bug reports, [email protected](better yet, please send patches!)