Reference12r2:IP4/General/STUN: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
==TURN Servers== | ==TURN Servers== | ||
You can configure up to | You can configure up to two TURN server in one of the following formats. | ||
* either a single DNS name and an optional port (e.g. <code>turn.example.com:1234</code>) | * either a single DNS name and an optional port (e.g. <code>turn.example.com:1234</code>) | ||
* or a comma separated list of one or two IP addresses and optional ports (e.g. <code>172.16.13.1:1234,172.16.13.2</code>) | * or a comma separated list of one or two IP addresses and optional ports (e.g. <code>172.16.13.1:1234,172.16.13.2</code>) | ||
Line 15: | Line 15: | ||
A TURN server configuration can optionally be followed by a protocol specification such as e.g. <code>turn.company.tld?protocol=</code>''prot'' where ''prot'' can be either <code>tcp</code> or <code>udp</code>. | A TURN server configuration can optionally be followed by a protocol specification such as e.g. <code>turn.company.tld?protocol=</code>''prot'' where ''prot'' can be either <code>tcp</code> or <code>udp</code>. | ||
==TURN Username== | ===TURN Username=== | ||
The user name for communication with the TURN server. | The user name for communication with the TURN server. | ||
==TURN Password== | ===TURN Password=== | ||
The password for communication with the TURN server. | The password for communication with the TURN server. | ||
===Slow STUN/TURN Server=== | |||
Increase the default timeout for a established TURN session from 300ms to 1,5 seconds. |
Revision as of 08:50, 11 January 2019
STUN Servers
The default STUN servers that should be used on a box by ICE and SIP, if no configuration is given at the individual registrations. The field must contain a string in the following format:
- up to two STUN servers which shall be queried in parallel, separated by semi-colon (
;
)
Each STUN server is denoted as
- either a single DNS name and an optional port (e.g.
stun.example.com:1234
) - or a comma separated list of one or two IP addresses and optional ports (e.g.
172.16.13.1:1234,172.16.13.2
)
<br\> This format is also used for the STUN server configuration in the DHCP innovaphone Vendor Option 219 .
TURN Servers
You can configure up to two TURN server in one of the following formats.
- either a single DNS name and an optional port (e.g.
turn.example.com:1234
) - or a comma separated list of one or two IP addresses and optional ports (e.g.
172.16.13.1:1234,172.16.13.2
)
A TURN server configuration can optionally be followed by a protocol specification such as e.g. turn.company.tld?protocol=
prot where prot can be either tcp
or udp
.
TURN Username
The user name for communication with the TURN server.
TURN Password
The password for communication with the TURN server.
Slow STUN/TURN Server
Increase the default timeout for a established TURN session from 300ms to 1,5 seconds.