Configuring Sangoma A200 (4 FXO) with Netborder VOIP Gateway for 3CX Phone System

Notes and Limitations:

  • This device is recommended ONLY for use in the US and Canada.
  • Sangoma does NOT have fax capability. The current versions of Netborder Express Gateway software do not provide FAX capabilities.
  • Netborder software only works on 32 bit Windows versions.
  • Inbound CallerID functionality is not available in the UK since the Sangoma FXO cardscannot process inbound CallerID in the format delivered in the UK.

Pre-Requisites and Requirements

  1. The Sangoma FXO Card must be installed in the same machine as the 3CX Phone System Server, complete with its binary drivers.
  2. The Sangoma card must have the ECHO cancellation module.
  3. The Netborder Express Gateway software must be available. Installation notes for the software are included below.
  4. The Netborder Express Gateway software must be licensed. Please refer to your Sangoma vendor for more information.
  5. The 3CX PhoneSystem Software (V7) must be installed with at least 2 extensions configured.

Installing the Netborder Express Gateway software

  1. The package provided by Sangoma should include the Netborder Express Gateway Software. Launch the installer, and complete the procedure. At the end of the procedure, you will be asked to reboot the machine.
  2. Reboot the machine.
  3. Upon rebooting, you will be presented with the Netborder Quick Setup Wizard. Click the "Next" button to start the wizard.


  4. Click on the "Add Board" button.


  5. Select "A200" for the "Board Type" field.
  6. Select "4" for the "Number of Interfaces" field.
  7. Click on the "Add" button.
  8. Click on the "Next" button.


  9. In the PSTN Analog configuration screen, select the country to match the FXO type in your area. The available choices are "USA", "Canada", "FCC", and "TBR21". You should select "FCC" for all countries except for the United States and Canada – where you should select "USA" or "Canada" respectively.
  10. Click the "Next" button.


  11. In the SIP Configuration screen, leave all fields at their default values. This assumes that the 3CX PhoneSystem SIP Listening port is left at the default (5060) and that port UDP:5066 is not in use by some other application on the machine.
  12. Click the "Finish" button.


  13. The configuration settings are now saved. Do NOT start the gateway yet – click the "No" button.

Configuring 3CX Phone System to interoperate with the Sangoma FXO Card

  1. Log on to the 3CX Management Console.
  2. Create a PSTN Gateway for the Sangoma Card.
    a. Select the Menu Item "Add -> PSTN Gateway".
    b. In the "Name" field, enter "SangomaFXO".
    c. Select the "Sangoma 4-port FXO PCI Card" device.
    d. Click the "Next >" button.

     
    e. All relevant parameters are pre-configured. Click the "Next >" button.

     
    f. In the "Create Ports" page, Remove the contents of the "Authentication Password" field for each line.
    g. Click the "Next" button.


    h. Set the "Calls to numbers starting with (Prefix)" field to "0", and leave all other settings for the
        "Create Outbound Rule" page at their default values. This will allow us to dial any outbound
        number by putting a "0" in front of the number we wish to reach.
    i. Click the "Finish" button.


    j. In the summary page, click the "Generate config file" at the bottom of the page.



    k. In the dialog box, please enter "255.255.255.0" for the subnet mask value. Click the "OK" button.
    l. You will be prompted to save a configuration file. Please save the file on the PBX server with the filename "C:\Program Files\Netborder\Express\Gateway\config\routing-rules.xml", overwriting the default file already present.

Configuring the Sangoma Card SIP Stack to start automatically

  1. Go to "Start -> Run…" and enter "services.msc" in the "Run" dialog box.
  2. Right-click on the service called "Netborder Express Gateway" and select "Properties".
  3. Set the "Startup Type" to "Automatic".
  4. Click on the "OK" button.
  5. Start the Netborder Express Gateway Web Interface from the Start Menu.
  6. Click on the "Start Gateway" button.

Optional Configuration for Sangoma to drop calls when callee rejects calls before call is answered

If an extension (a SIP phone) cancels the call before picking up, the analog FXO line is in ON-HOOK state, while the PSTN line (Telecom Company side) is in RINGING state. Typically, the caller hears a continuous dialing tone, and the line remains unavailable until the caller physically disconnects the call. Due to the absence of digital signaling on FXO lines, there is no way for the Sangoma card to signal to the PSTN line that the call was rejected.

The only known way to change this behavior is to configure the Sangoma to answer all calls (rather than leaving the line in RINGING state), and disconnect the call if the destination Extension rejects the call. This obviously implies that the call will be billed as soon as the call is connected. If you want to implement this mechanism:

  1. Start the Netborder Express Gateway Manager web interface
  2. Go to "Configuration -> PSTN Config -> Call Control -> Analog configurations -> FXO-config1"
  3. Expand the "Disconnect Supervision Info" section


  4. Set the field labeled "Ring Cadence Detector Active" to "No".
  5. Restart the Netborder Express Gateway

Call Connection Detection for Sangoma Analog Cards

By default in Netborder Express Gateway 2.0, outbound calls over analog (FXO) ports are considered connected if no error signal happens within 5 seconds of dialing out the number. This behavior however would fail in the case of a Hunt Group or a Ring Group which forwards to an external number.

Enabling the "Battery Polarity Reversal" option on the Netborder Express Gateway may assist to resolve this issue, but is NOT supported on all analog lines. To configure this option:

  1. In the Gateway Manager GUI, go to "Configuration -> PSTN Config -> Call Control -> Analog Configurations -> FXO-config1"
  2. Expand the "Outbound Connect Info" section
  3. Set the field labeled "Connect Outbound Side Condition" to "ON-BATTERY-POLARITY-INVERSION"
  4. Set the field labeled "Connect Inbound Side Delay (ms)" to "0"
  5. Restart the Netborder Express Gateway

NOTE: NOT all analog lines support this detection mechanism.

VOIP Gateway Configuration Guides