Operational, Basic, and Advanced Parameters
A-28
41-001343-02 REV05 – 07.2014
SIP TURN Parameters
Parameter
–
sip stun port
Configuration Files
aastra.cfg, <model>.cfg, <mac>.cfg
Description
Port number of the
STUN
server (also know as Simple Traversal of UDP through NAT)
Notes:
•
The NAT IP configuration parameter takes precedence over the STUN and TURN
parameters.
•
STUN does not work if the NAT device is symmetric.
Format
Integer
Default Value
3478
Range
0 to 65535 (One (1) or two (2) port numbers separated by a comma)
Note:
The first is the primary and the second is the backup.
Example
sip stun port: 3478,3479
Parameter
–
sip turn ip
Configuration Files
aastra.cfg, <model>.cfg, <mac>.cfg
Description
IP address and/or qualified domain name of the
TURN
server (also known as Traversal
Using Relay NAT).
TURN is a protocol that governs the reception of data over a Transmission Control Pro-
tocol (TCP) or a UDP connection by a single communications device operating behind
a NAT or firewall. A TURN server relays packets from an external IP address towards an
internal device only if that internal device has previously sent a packet through the
same TURN server to that particular external IP address.
The STUN/TURN configuration is only used for media (RTP traffic) that goes through
the server - not for signaling. (For signaling, you need to enable Rport if the NAT device
does not recognized SIP).
The STUN/TURN configuration applies globally to each phone.
If you configure both STUN and TURN on the phone, it discovers what type of NAT
device is between the phone and the public network. If the NAT device is full cone,
restricted cone, or port restricted cone, the phone uses STUN. If the NAT device is sym-
metric, the phone uses TURN. If you configure TURN only, the phone uses TURN with
the NAT discovery process. TURN is compatible with all types of NAT devices but can be
costly since all traffic goes through a media relay (which can be slow, can exchange
more messages, and requires the TURN server to allocate bandwidth for calls).
Note:
The NAT IP configuration parameter takes precedence over the STUN and TURN
parameters.
Format
IP Address or Fully Qualified Domain Name (FQDN)
Default Value
0.0.0.0
Range
Two (2) IP addresses or domain names separated by a comma
Note:
The first is the primary and the second is the backup.
Example
sip turn ip: 10.50.103.12, turnbackup.aastra.com