21
Note that in some cases NAT traversal is not necessary. Some public service providers
of IP telephony keep track of the actual IP address used to register a phone, and the
one used in the SIP requests from the same phone, and then replaces the addresses in
the SIP messages.
STUN
STUN (Simple Traversal of UDP through NATs) is a protocol that
DVVLVWVGHYLFHVEHKLQGD1$7¿UHZDOORUURXWHUZLWKWKHLUSDFNHW
routing. STUN is commonly used in real-time voice, video, mes-
saging, and other interactive IP communication applications.
The protocol allows applications operating through a NAT to
GLVFRYHUWKHSUHVHQFHDQGVSHFL¿FW\SHRI1$7DQGREWDLQWKH
mapped (public) IP address (NAT address) and port number
that the NAT has allocated for the application’s User Datagram
Protocol (UDP) connections to remote hosts. The protocol
requires assistance from a 3rd-party network server (STUN
server).
6781VKRXOGEHDFWLYDWHGLIDQH[WHUQDO6,3VHUYHUFDQQRWFRQ
-
QHFWWRWKH.;+'9EHKLQGD¿UHZDOO1$7IXQFWLRQDQGWKH
SIP server supports STUN. A suitable STUN server is usually
provided by the VoIP service provider.
Note: STUN might also be referred to as Session Traversal
Utilities for NAT.
STUN host
The IP address or public name of the STUN server.
Offer ICE
ICE (Interactive Connectivity Establishment), is a STUN addi-
tion that provides various techniques to allow SIP-based VoIP
GHYLFHVWRVXFFHVVIXOO\WUDYHUVHWKHYDULHW\RI¿UHZDOOVWKDWPD\
H[LVWEHWZHHQWKHGHYLFHV7KHSURWRFROSURYLGHVDPHFKDQLVP
for both endpoints to identify the most optimal path for the media
WUDI¿FWRIROORZ
7851
78517UDYHUVDO8VLQJ5HOD\1$77851LVDQH[WHQVLRQRIWKH
STUN protocol that enables NAT traversal when both endpoints
DUHEHKLQGV\PPHWULF1$7:LWK7851PHGLDWUDI¿FIRUWKHVHV
-
VLRQZLOOKDYHWRJRWRDUHOD\VHUYHU6LQFHUHOD\LQJLVH[SHQVLYH
in terms of bandwidth that must be provided by the provider, and
DGGLWLRQDOGHOD\IRUWKHPHGLDWUDI¿F7851LVQRUPDOO\XVHGDVD
last resort when endpoints cannot communicate directly.
TURN User
User authentication name on the TURN server.
TURN host
The IP address or public name of the TURN server.
Password
User authentication password on the TURN server.
On phone:
(
MENU
)
>
SETTINGS
>
ADVANCED
> (PIN) >
NAT TRAVERSAL
(6,2,3).
SETTINGS