Version 7.2 151 Mediant 1000B Gateway & E-SBC
User's Manual 12. Network
The device identifies whether the UA is located behind NAT by comparing the source IP
address of the first received media packet with the IP address and UDP port of the first
received SIP message (INVITE) when the SIP session was started. This is done for each
media type--RTP, RTCP and T.38--and therefore, they can have different destination IP
addresses and UDP ports than one another.
The EnableIpAddrTranslation and EnableUdpPortTranslation parameters specify the type
of compare operation that occurs on the first incoming packet. To compare only the IP
address, set EnableIpAddrTranslation to 1 and EnableUdpPortTranslation to 0. In this
case, if the first incoming packet arrives with only a difference in the UDP port, the sending
addresses won’t change. If both the IP address and UDP port need to be compared, then
both parameters need to be set to 1.
You can configure the device's NAT feature to operate in one of the following modes:
[0] Enable NAT Only if Necessary: NAT traversal is performed only if the UA is located
behind NAT:
• UA behind NAT: The device sends the media packets to the IP address:port
obtained from the source address of the first media packet received from the UA.
• UA not behind NAT: The device sends the packets to the IP address:port
specified in the SDP 'c=' line (Connection) of the first received SIP message.
Note: If the SIP session is established (ACK) and the device (not the UA) sends the
first packet, it sends it to the address obtained from the SIP message and only after
the device receives the first packet from the UA does it determine whether the UA is
behind NAT.
[1] Disable NAT: (Default) The device considers the UA as not located behind NAT
and sends media packets to the UA using the IP address:port specified in the SDP 'c='
line (Connection) of the first received SIP message.
[2] Force NAT: The device always considers the UA as behind NAT and sends the
media packets to the IP address:port obtained from the source address of the first
media packet received from the UA. The device only sends packets to the UA after it
receives the first packet from the UA (to obtain the IP address).
[3] NAT by Signaling = The device identifies whether or not the UA is located behind
NAT based on the SIP signaling. The device assumes that if signaling is behind NAT
that the media is also behind NAT, and vice versa. If located behind NAT, the device
sends media as described in option [2] Force NAT; if not behind NAT, the device
sends media as described in option [1] Disable NAT. This option is applicable only to
SBC calls. If the parameter is configured to this option, Gateway calls use option [0]
Enable NAT Option, by default..
To enable NAT resolution using the First Incoming Packet mechanism:
1. Open the Media Settings page (Setup menu > Signaling & Media tab > Media folder
> Media Settings), and then from the 'NAT Traversal' drop-down list (NATMode),
select the required NAT option:
Figure 12-10: Configuring NAT Traversal for Media
2. Click Apply.
12.7.2.2.2 No-Op Packets
The device can send No-Op packets to verify Real-Time Transport Protocol (RTP) and
T.38 connectivity, and to keep NAT bindings and Firewall pinholes open. The No-Op
packets can be sent in RTP and T.38 formats:
RTP No-Op: The RTP No-Op support complies with IETF Internet-Draft draft-wing-