Gateways

Gateway configuration

bg-dots
bg-dots

The System → Gateways section is used to view, create, edit, and delete gateways and to configure call routing through external SIP and H.323 systems. Gateways are network connections over SIP or H.323 to PBX systems and other media servers.

Gateway list actions

Contains the page title and list action buttons.

  • Add gateway – icon in the upper-right corner; opens the “Add gateway” dialog.
  • Refresh list – refreshes the gateway table.

When one or more rows are selected, mass deletion “Delete selected gateways” is available in the header.

Search and filters

Limits the list of displayed gateways.

  • Page size – number of rows in the table. Available values: 10, 20, 50, 100.
  • “Type” – filter by gateway type. Default: “Any”. Available values: “Any”, H.323, SIP.

Gateway table

Displays the configured gateways.

  • Header checkbox – selects all gateways on the page for mass operations.
  • Row checkbox – selects an individual gateway.
  • “Gateway” – gateway name; the link opens the edit dialog.
  • “Status” – IP address or gateway state.
  • “Type” – gateway protocol (SIP or H.323).
  • “Routes” – number of configured routes.
  • “Incoming” – whether incoming calls are accepted (“Yes” / “No”).
  • “Outgoing anonymous” – whether anonymous outgoing calls are allowed (“Yes” / “No”).
  • “Actions” – edit and delete the gateway.

Below the table, a record count message is shown with pagination controls. With no gateways: “Shown 0 of 0 records”; with rows present: for example, “Shown 1 of 1 records”.

Add gateway

Opened by the add button at the top of the page. The dialog has tabs “Main”, “Extended”, and “Routes”.

“Main” tab

  • “Type” – gateway protocol. Default: SIP. Available values: SIP, H.323. After creation the type cannot be changed.
  • “Name” – unique gateway name; Latin letters, digits, and - only (underscore is rejected).
  • “IP” – address of the remote PBX / media server.
  • “Registration” – the server registers on the remote system as a SIP/H.323 client. When enabled, credential fields with placeholders “Name” and “Password” appear (REGISTER credentials). Without registration the gateway works by IP without REGISTER.
  • “Accept incoming” – allows incoming calls from the gateway toward the server. When enabled, “Conversions incoming call numbers” appears.
  • “Conversions incoming call numbers” – rewrite rule for the called number before routing on the server (for example, strip a trunk prefix). Visible only when “Accept incoming” is on.
  • “Allow anonymous users to use the gateway” – anonymous participants may place outbound calls through this gateway.
  • “Allow anonymous connections to call accounts” – an anonymous connection may dial local accounts using the gateway as the path.

“Extended” tab

Fields depend on “Type”. For SIP:

  • “Port” – signaling port on the remote side. Default: 5060.
  • “Transport” – SIP transport: UDP, TCP, TLS. Default: UDP.
  • “Insecure” – how strictly to validate the incoming SIP source (port / invite / very). Default: very (strictest).
  • “Qualify” – periodically send SIP OPTIONS to check that the remote node is alive (“Yes” / “No”).
  • “Codecs” – codecs allowed toward the gateway; move items between available and selected lists.
  • “H.264 High Profile” – allow High Profile for H.264 (higher quality/load than Baseline).
  • “Media streams” – controls individual media streams of the gateway.
  • “Connect media streams before answer” – start media before the final answer to INVITE (early media).
  • “DTMF mode” – how tones are sent: rfc2833, auto, inband, info. Default: rfc2833.
  • “NAT” – NAT handling toward the gateway: “No”, “Yes”, Never / without 'rport' [rfc3581].
  • “Skype4B” – treat the remote node as Lync / Skype for Business.
  • “BFCP” – content channel: TCP, UDP, NONE. Default: UDP.
  • “Media Encryption” – RTP encryption: NONE or SRTP. Default: NONE.
  • “From domain” – domain in the From header of outbound SIP messages (when the remote side requires a specific domain).
  • “Filtering RTP” – restrict extra RTP streams from the same port (reduces risk of mixed-in media).

When “Type” is H.323, the field set differs: “Port”, “Codecs”, “H.264 High Profile”, “Media streams”, “Connect media streams before answer”, “DTMF mode”, “NAT” (“No” / “Yes”), “From domain”, “Filtering RTP”, plus:

  • “H.239” – second video stream (presentation) over H.239.
  • “H.224” – H.224 data channel.
  • “Crypto” – additional H.323 cryptography options.

SIP-only fields (“Transport”, “Insecure”, “Qualify”, “Skype4B”, “BFCP”, “Media Encryption”) are hidden for H.323.

“Routes” tab

Call routes through the gateway. With no routes, the tab shows only “Add”. After clicking it, block #1 appears with fields and “Delete”.

  • “Direction” – number or pattern that sends the call to this gateway. Length 1–255. A pattern starts with _. Tokens: X (0–9), Z (1–9), N (2–9), [12345-9] (digit from the set), . (one or more characters at the end).
  • “Weight” – priority when several gateways match; lower value means higher priority.
  • “HuntStop” – when matched, stop trying further routes (hunt-stop).
  • “Notation” – free-text route description.
  • “Conversion” – how to rewrite the dialed number before sending to the gateway (${EXTEN}).
  • “CallerId conversion” – how to rewrite Caller ID (${CALLERIDNUM}).

Dialog footer:

  • “Add” – saves the new gateway.
  • “Cancel” – closes the dialog without saving.

Step 1. Click the add-gateway control in the list header.
Step 2. On the “Main” tab, set “Type”, “Name”, and “IP”; enable registration and incoming calls if required.
Step 3. Fill “Extended” and “Routes” if needed, then click “Add”.

Edit gateway

Opened by the link in the “Gateway” column or the edit button in “Actions”. Dialog title: “Edit gateway «…»”. Tabs match the add form; “Type” cannot be changed after creation.

  • “Save” – saves changes.
  • “Cancel” – closes the dialog without saving.

Delete gateway

Delete one gateway with the trash icon in “Actions”. Mass delete uses row checkboxes and “Delete selected gateways” in the list header.

Status Settings