SIP User's Manual
366
Document #: LTRT-65409
MediaPack
Series
The following figure illustrates the gateway's supported NAT architecture.
Figure
8-1: Nat Functioning
The design of SIP creates a problem for VoIP traffic to pass through NAT. SIP uses IP
addresses and port numbers in its message body and the NAT server can’t modify SIP
messages and therefore, can’t change local to global addresses.
Two different streams traverse through NAT: signaling and media. A gateway (located
behind a NAT) that initiates a signaling path has problems in receiving incoming signaling
responses (they are blocked by the NAT server). Furthermore, the initiating gateway must
notify the receiving gateway where to send the media.
To resolve these issues, the following mechanisms are available:
STUN (refer to 'STUN' on page
366
)
First Incoming Packet Mechanism (refer to 'First Incoming Packet Mechanism' on
page
367
)
RTP No-Op packets according to the avt-rtp-noop draft (refer to 'No-Op Packets' on
page
367
)
For information on SNMP NAT traversal, refer to the
SIP Series Reference Manual
.
8.2.1 STUN
Simple Traversal of UDP through NATs (STUN), based on RFC 3489 is a client / server
protocol that solves most of the NAT traversal problems. The STUN server operates in the
public Internet and the STUN clients are embedded in end-devices (located behind NAT).
STUN is used both for the signaling and the media streams. STUN works with many
existing NAT types and does not require any special behavior.
STUN enables the gateway to discover the presence (and types) of NATs and firewalls
located between it and the public Internet. It provides the gateway with the capability to
determine the public IP address and port allocated to it by the NAT. This information is later
embedded in outgoing SIP / SDP messages and enables remote SIP user agents to reach
the gateway. It also discovers the binding lifetime of the NAT (the refresh rate necessary to
keep NAT ‘Pinholes’ open).
On startup, the gateway sends a STUN Binding Request. The information received in the
STUN Binding Response (IP address:port) is used for SIP signaling. This information is
updated every user-defined period (NATBindingDefaultTimeout).
At the beginning of each call and if STUN is required (i.e., not an internal NAT call), the
media ports of the call are mapped. The call is delayed until the STUN Binding Response
(that includes a global IP:port) for each media (RTP, RTCP and T.38) is received.
Содержание Mediapack mp-11x
Страница 1: ...Document LTRT 65409 August 2007 User s Manual Version 5 2...
Страница 2: ......
Страница 14: ...SIP User s Manual 14 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 18: ...SIP User s Manual 18 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 22: ...SIP User s Manual 22 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 44: ...SIP User s Manual 44 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 47: ...Version 5 2 47 August 2007 SIP User s Manual 4 Getting Started Figure 4 1 Startup Process...
Страница 322: ...SIP User s Manual 322 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 380: ...SIP User s Manual 380 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 388: ...SIP User s Manual 388 Document LTRT 65409 MediaPack Series Reader s Notes...
Страница 390: ...User s Manual Version 5 2 www audiocodes com...