Skip to main content
Version: 3.26

Gateways

danger

Please do not remove Gateway entities completely from the system. It may cause distortions and overall mismatches in stored statistics. Instead, deactivate them.

Section overview​

This section allows to configure and integrate all needed media equipment with the billing system via RADIUS, SIP, or xDR-files upload. The section is presented in the form of a table of all created gateways with the following columns:

Gateways section

ColumnDescription
IDID number of a gateway
NameName of a gateway
RADIUS ServerDescription of current status and collector type of RADIUS Server (if such is applied)
Files CollectorDescription of current status and collector type of applied Files Collector (if such is applied)
SIP ServerDescription of current status of applied SIP Server (if such is applied)
AC ManagerDescription of current status of applied Active Calls Manager (if such is applied)

The following functional buttons/icons are present in the section:

Button/IconDescription
add newAllows to create a new gateway
tp rulesAllows to set up traffic processing rules
green / greyDisplays a current status - enabled or disabled - of RADIUS/SIP Server, Files Collector
deleteAllows archiving a gateway, requires confirmation and disabling all associated services

Adding a new Gateway​

To add a gateway to the list, click the New Gateway button and specify parameters in a pop-up window with settings. You can access the advanced settings by clicking on a downward arrow icon next to the name of a respective information block.

Adding new Gateway

General information​

  • Name: Gateway name
  • IP Address: Gateway IP address
  • Allowed for: specify here, which resellers can use current gateway
  • Service: select a service (calls, SMSs, data, etc.) for a current gateway
  • Tag: indicate a particular tag to filter events by gateways while creating invoices and using reports

Click the downward arrow icon next to the General information block to access the following advanced settings:

FieldDescription
Ident PriorityA hierarchy of account identification. By default, the field value priority is IP, name, ANI
ORIG ANI IdentSelect ANI identification of originating events (available options: "Src number ext", "Src number bill", "Dst ext", "Dst number bill")
TERM ANI IdentSelect ANI identification of terminating events (available options: "Src number ext", "Src number bill", "Dst ext", "Dst number bill")
Rate ORIG events by Incoming Parties IDs checkboxActivation/deactivation of originating events billed by "Dst Party ID In" (if disabled, the "Dst Party ID BILL" will be used)
Rate TERM events by Outgoing Parties IDs checkboxActivation/deactivation of terminating events billed by "Dst Party ID Out" (if disabled, the "Dst Party ID BILL" will be used)

Files Collector​

Information block regarding the File Collector settings. Files Collector gathers event data from xDR-files (activate this option if you plan to use integration via xDR-files)

  • Collector type: select a collector type you plan to use from the list

  • Data Source: specify a data source, where xDR files are stored

  • From Path: specify the xDR-files path (mask paths are allowed). Available only for SSH and FTP

    warning

    If there are /var/cdrs folder with the latest CDR files and /var/archive_cdrs/ folder with outdated ones, and a user needs to download CDR files from both of them, he can use ";" (semicolon) to separate paths or /**/ for recursive download. New paths may have the following look: /var/cdrs/**/bill*; /var/archive_cdrs/bill*.

  • Sender Match: indicate the sender name or email. Solely for IMAP

  • Subject Match: use a regular expression to search by message titles. Solely for IMAP

Click the downward arrow icon next to the Files Collector information block to access advanced settings:

FieldDescription
Overwrite TZTimezone selection (if you select a different timezone, the system will ignore a timezone stored in an xDRs-file and use current value)
Skip Zero Events checkboxActivation/deactivation of zero duration events ignoring
Skip Released Events checkboxActivation/deactivation of released events ignoring

RADIUS Server​

Information block regarding RADIUS Server settings. RADIUS Collectors gather packets from RADIUS-server via RADIUS-protocol (activate this option if you plan to use integration via RADIUS-protocol)

  • Collector Type: select a collector type you plan to use from the list
  • Secret: RADIUS-server password

Click the downward arrow icon next to the RADIUS Server information block to access advanced settings:

FieldDescription
Overwrite TZTimezone selection (if you select a different timezone, the system will ignore timezone information stored in an xDR file and use current value)
Track Active Events checkboxActivation/deactivation of monitoring active events and event packets. This option is required for "Active Sessions" section to work and for RADIUS capacity control. Please note, it could slow down RADIUS for about 10-30%
Skip Zero Events checkboxActivation/deactivation of zero duration events ignoring
Skip Released Events checkboxActivation/deactivation of released events ignoring
Collect Accounting Data checkboxIf disabled, information from STOP packets will not be collected by database and Radius Accounting will be used only for Active Sessions monitoring. If enabled, information from STOP packets will be collected by the database. By default, this checkbox is marked
Write internal xDR files checkboxIf enabled, the system will write RADIUS accounting data to internal xDRs (for systems w/o CDR files enabled)

SIP Server​

Allows accepting SIP packets from the current gateway. Required for SIP Redirect routing feature.

  • Collector Type: select a collector type you plan to use from the list

AC Manager​

This subsection allows pulling Active Calls data from the softswitch to help reduce the load on RADIUS. Please note that this functionality can be used either through RADIUS Server settings or AC Manager, not both.

  • Collector Type: select a collector type you plan to use from the list

Click the downward arrow icon next to the AC Manager information block to access advanced settings:

FieldDescription
Overwrite TZTimezone selection (if you select a different timezone, the system will ignore timezone information stored in an xDR file and use the current value)

Files Downloading History​

To view files downloading history, where gateway name, filename, download date, and file size will be specified, open the Downloads History tab. Also, you can remove files from the list by selecting them and clicking the delete button above the table.

downloads history