SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities

How to connect Analog Phone lines to Ozeki Phone System

As most up-to-date PBXs, Ozeki Phone System uses digital switching for translating the analog signals to digital. For this purpose, a PSTN device, called ATA, can be used. With such an ATA device, you can easily connect an analogue line to the PBX. This way, you can make and receive calls to both directions. This article explains what kind of configurations are needed in Ozeki Phone System and how you can setup your ATA device in order to connect a PSTN phone line to your PBX.

Step 1: Installing a PSTN device

Step 2: Configuring Ozeki XE

Step 3: Setting up ATA

Step 4: Making a test call

new pstn
Figure 1 - New PSTN

Introduction to Analog Phone lines and PSTN devices

As the VoIP-based Ozeki Phone System only accepts digital signals, you need to convert analog signals to digital. ATA (Analog Terminal Adapters) devices are commonly used for this purpose. These are also called PSTN (Public Switched Telephone Network) devices.

ATA has 2 kind of jacks:

  • an ethernet jack
  • and one or more RJ-11 jacks.

The number of RJ-11 jacks connected to the telephone network determines how many calls can be made simultaneously, so maximum 1 call can be made at a time on 1 telephone line. Every telephone line gets a separate telephone number from the provider. Since the other jack of the ATA device is an ethernet jack, the ATA will have an IP address. It communicates with Ozeki Phone System using an IP address, so you only have to install a PSTN device in Ozeki Phone System, and ATA will do the rest.

Step 1: Installing a PSTN device to Ozeki Phone System

First of all, download and install Ozeki Phone System. After launching it, log in with your username and password (Figure 2).

login page
Figure 2 - Login page

After signing in, the home screen appears. Now, navigate to the "Outside lines" panel then click on the Add button in the top right corner of this section (Figure 3).

add new outside line
Figure 3 - Add new Outside Line

After that, the "Outside lines" panel can be seen. For creating a PSTN connection, you need to install a PSTN device; look for the "PSTN device" line in the Standard Connections column, than click on the Install button (Figure 4). The configuration panel of the PSTN device will appear.

install new pstn device
Figure 4 - Install new PSTN device

Step 2: Configuring Ozeki Phone System

Now the PSTN device Installation panel can be seen, where you need to specify some important parameters for this connection (Figure 5, Figure 6):

  • Provide a Connection name in the "Identification" section.
  • In the "Authentication" panel if you select the "This PSTN device operates in SIP trunk mode (it will NOT register)" option, you need enter your VoIP provider IP address. In the "Port" edit box keep the default port number.
  • the configuration panel of the pstn device
    Figure 5 - The configuration panel of the PSTN device

  • If you choose the "This PSTN device operates in SIP client mode (it will register)" option, you need enter the following SIP account details: Username, Authorization name and Password.
  • the configuration panel of the pstn device general settings
    Figure 6 - The configuration panel of the PSTN device general settings

  • In both cases, within the "Call capacity" block you can specify the maximum number of simultaneous calls by entering a positive number (integer) into the textbox.
  • If you are ready, click on the OK button.

Now, you need to set an outbound and inbound rule to your outside line. The recommended dial plan settings appear automatically on the yellow warning bar (Figure 6, see below).

Step 3: Setting up Dial plans

The first warning message tells you to set an Outbound rule. With this rule, you can call a phone on the analog network from an extension, installed on the Ozeki Phone System.
If you would like to make calls to outer networks with the "81" prefix, click the "Setup 81 as the outbound perfix" textlink, or if you would like to set your own dial plan rules, click on the "create outbound dial plan rule manually" textlink.

The second warning message refers to the Inbound rule settings, it is used for incoming calls. Here, you can chose which extension will receive the calls coming from the analog telephone network. You only need to select an extension from the drop-down menu. Calls incoming to this PSTN outside line will be forwarded to the selected extension. Therefore, you can receive these incoming calls by using that particular extension and/or telephone. Finally, click on the OK button (Figure 7).

adding dial plan to the pstn device
Figure 7 - Adding dial plan to the PSTN device

Step 4: Setting up an ATA

Having made the previously suggested settings, the only thing left to do is to set your Analog Telephone Adapter (ATA). In this guide will use the following device:

linksys spa
Figure 8 - Linksys SPA-3102

You should connect it to the PSTN device and to the local computer network. For connecting the ATA with Ozeki Phone System, you need to connect them together with the proper cables.

  • The ports of ethernet and internet work in a manner that is similar to how they work in the case of a "traditional" router.
  • You should connect the incoming phone line to the line port.
  • You can also connect the phone, on which you wish to answer the calls, to the ATA device through the phone port. This is optional. (If you do not connect a phone to the ATA device, you will be able to make calls only between analogue line and SIP extension(s).)

After that, open the configuration page of the ATA, by entering it's IP address into your web browser (Figure 8). (To find out the IP address of your ATA, please study the user manual of your device.)

open the configuration panel of your ata
Figure 9 - Open the configuration panel of your ATA

After opening the web GUI of your device, you need to specify the main parameters of the ATA:

  • the IP address of the PBX,
  • username,
  • authorization name,
  • password,
that you have provided in Ozeki Phone System earlier (see above Figure 5).

Figure 10 demonstrates the configuration process through the example of Linksys SPA-3102. After opening the configuration page, select the Admin Login menu item at the top right corner, then select the Voice tab at the upper menu bar.

configuration panel of linksys spa
Figure 10 - Configuration panel of Linksys SPA-3102

After that, select the PSTN Line menu item, where you need to enter the IP Address of your Ozeki Phone System into the Proxy data field, the authorization name of the ATA into Auth ID textbox and provide its password in the Password row. Then, click on the Submit All Changes button at the bottom of the screen (Figure 11).

pstn configuration panel of linksys spa
Figure 11 - PSTN configuration panel of Linksys SPA-3102

Now, your ATA has been added to Ozeki Phone System successfully and it is ready to use.

Step 5: Making a test call

For initiating a test call, use an existing extension to dial an external phone number. (In this example, the phone number should start with "81", so you need to dial a phone number such as "820036440123456789" to make an outbound call.) The call status can be tracked in Ozeki Phone System, where you can also see that, the call has been made over the newly created PSTN connection (Figure 12).

making a test call
Figure 12 - Making a test call


As the guide above presented, an ATA device is essential if you want to connect analog phone lines to Ozeki Phone System. This article demonstrated by an example the configuration's steps, needed on both sides; after you have added a new PSTN device, you only need to specify the main parameters of the ATA in Ozeki Phone System and the configuration panel of the device as well. It can be completed in less than 10 minutes.

If you have any questions or need assistance, please contact us at  info@ozekiphone.com

Get more information about our solutions:

More information