Redirect SIP Service (redirect)
Description
Redirects SIP requests to one of the current site’s SIP gates. Provides the ability to use a single IP address for devices connected to the site, increasing throughput.
Reserved and scaled in mode Active-Active.
Code |
|
Mode of operation |
|
Backup mode |
|
Types of sites |
|
Layer |
|
Placement |
|
Saving and restoring state on reboot |
|
appendix |
|
Limitations
-
The role is only available in working domains
-
Is an edge role, uses a TLS certificate for HTTPS and WSS connections.
Parameters
Name | Type | Default | Description |
---|---|---|---|
|
|
required |
Name. May consist of Latin letters and numbers, must begin with a letter. |
|
|
required |
Role Type. Possible values: |
|
|
required |
The alias of the server network interface on which the roles will interact internally with each other. |
|
|
empty |
Additional role options. Contains a json object or list. |
|
|
empty |
Role activity flag. When set to false, the role does not participate in validation and is not started. |
|
|
required |
Role ID. |
|
|
required |
An indication that the role has been allocated to a separate node. |
|
|
required |
Local UDP port for SIP. The same port handles both TCP. |
|
|
required |
Local TCP port for SIP. If a value other than UDP is specified, it will be raised additionally. |
|
|
empty |
Local TLS port for SIP ( |
|
|
empty |
WebSocketSecure local port for SIP ( |
|
empty |
Local port for SIP interaction with other system microservices (UDP/TCP). |
|
|
|
A list of server interfaces on which port listeners are raised. For sg, esg, redirect roles executed on the same server, the same values can be specified as external ports (udp,tcp,tls,wss) if their list of listened interfaces do not overlap. The original interface of the current node with port 'sip_internal_port' is always added to the list of listened interfaces, which should not be used by other microservices on the same server. |
|
|
|
|
SIP protocol logging to log switch |
|
|
|
Response code sent to UA for redirection. Possible values: |
|
|
|
UA address list provisioning mode switch. |
|
|
empty |
A list of |
|
|
|
The lifetime to be substituted in the "Contact" field when forwarding, in seconds. |
Configuration example
The configuration is managed in an application available to master domain administrators. The application hides the full content of the configuration, but it is nevertheless accessible via the API.
The configuration contains a section to describe all instances of all roles. Parameters are defined for each specific role instance.
{
"name": "redirect1",
"roletype": "redirect",
"iface": "eth0",
"roleid": 11430,
"separate": true,
"tcp": 5060,
"udp": 5060,
"tls": 5061,
"wss": 5063,
"certdir": "/var/lib/era/certificates",
"keypass": "eb9c4458016d3f1e378d02004c4f4f50",
"expires": 180,
"multicontact": false,
"sipcode": 302
}