A SIP external gateway describes a remote SIP party: a carrier, a proxy or another SIP system. It holds its address, the transport, the registration and supervision settings, the authentication data and the media options. Outgoing calls reach the gateway through network routing prefixes or ARS. Incoming calls from the gateway are routed to a trunk group.
Before you start:
- Management access level 3 is required.
- Create the SIP trunk group. See Create a SIP trunk group.
- Get from the carrier: the remote domain or IP address, the port, the transport, the registration and authentication data, and the supported codecs.
Create the gateway
- In
mgr, open EXTERNAL GATEWAYS and create an object. - Enter the Instance: the number of the gateway (0 to 999).
- Enter the Gateway Name.
- Enter the Remote domain: the IP address or the name of the remote party. This field is required for SIP routing.
- Set Port number (default 5060) and Transport type: UDP (default), TCP, TLS Client or TLS Server.
- Enter the Trunk group number: the trunk group that receives the incoming calls from this gateway.
- Set the Gateway type. The default value is Standard.
- Validate your change.
Important: To be confirmed by R&D. The purpose of each gateway type other than Standard and ICE.
Set registration and supervision
- Registration timer (0 to 32000): 0 (default) means no registration. Otherwise, the system registers with the remote party at this interval.
- Registration ID: fills the user part of the From header of the REGISTER request.
- Outbound Proxy: fills the domain part of the Route header of INVITE and REGISTER requests. Empty by default.
- Supervision timer (0 to 32000): 0 (default) means no supervision. Otherwise, the system sends an OPTIONS request at each interval. OPTIONS required (default Yes) also sends OPTIONS when the system starts.
- Re-Trans No. for REGISTER/OPTIONS (1 to 10, default 2): number of retransmissions.
- DNS type: DNS A (default) or DNS SRV, with First DNS IP Address and Second DNS IP Address.
Set authentication
- Outgoing realm, Outgoing username and Outgoing Password: the credentials that the system gives when the remote party challenges it.
- Incoming username and Incoming Password: the credentials that the remote party must give when the system challenges it.
- Minimal authentication method: None, Basic (plain text password) or Digest.
- Nonce caching activation (default No): with No, the authentication procedure runs at each SIP request.
Set identity and signaling options
| Field | Default | Effect |
|---|---|---|
| RFC 3325 supported by the distant | Yes | The P-Asserted-Identity header is provided. |
| Registration ID in P_Asserted | No | With Yes, the P-Asserted-Identity always contains the registration ID. |
| P-Asserted-ID in Calling Number | No | With Yes, the calling number of incoming calls comes from the P-Asserted-Identity header instead of the From header. |
| Diversion Info to provide via | History-Info | Header used to signal a forward: History-Info (RFC 4244) or Diversion (RFC 5806). |
| Send user name in SIP | Display name, else caller number | Content of the display name of the From header. |
| DDI destination number | Request-URI | Where the destination number of incoming calls is read: Request-URI or To header. |
| Outbound Calls 100 REL | Supported | 100rel indication in outgoing INVITE: not supported, supported or required. |
| Session Timer | 1800 s | Supervision of active sessions (180 to 86400 s). Min Session Timer: 900 s. Session Timer Method: UPDATE (default) or Re-INVITE. |
Set media options
- SRTP: RTP only (default), RTP or SRTP, or SRTP only.
- Codecs: Support G711 (default Yes), Support G722 (default Yes, requires G711), Support G729 (default Yes, required if G711 is disabled), Support OPUS (default No, requires G711).
- Dynamic Payload type for DTMF8K (default 101) and Dynamic Payload type for DTMF48K (default 102): RFC 2833 / RFC 4733 payload values.
- FAX Procedure Type: T38 only (default), G711 only or T38 to G711 fallback. With T38 only, the call is released if the remote party does not support T.38.
- Allow Direct RTP (default Yes): the media flows directly between the devices of the OmniPCX Enterprise and the SIP trunk. With No, compression resources are inserted, taken from the IP Domain set on the gateway.
Secure the connection with TLS
- Set Transport type to TLS Client or TLS Server.
- For mutual authentication with TLS Client, enter the Serial Number of Certificate TLS.
- Set SIP TLS Mutual Authentication to Yes if the system must authenticate the gateway with its CA certificate from the trust store. The default value is No.
Limits
The gateway has many other parameters for specific carriers and network topologies, such as redirection, transfer with REFER, early media and video. Keep their default values unless the carrier requires a change.
Important: To be confirmed by R&D:
- The exact menu path in
mgr: the parent object SIP is hidden in the management definitions. - When changes take effect on calls and registrations in progress, and how to check that the gateway is registered and reachable.
See also the limits common to all configuration (mgr) articles.