In this section:
The NAT Direct Media Group is a collection of public signaling IP addresses for NAT devices supporting Direct Media (DM). A NAT Direct Media Group name can be maximum of 32 characters; however, “0.0.0.0” (IPv4) and “::0” (IPv6) are not allowed.
For the SBC to support direct media between NAT and non-NAT endpoints, the NAT router used in the call must have SIP Application Level Gateway (ALG) functionality for the media to flow between end points.
To allow Direct Media between NAT devices, or between NAT and Non-NAT devices, the following configuration is necessary.
directMediaAllowedBehindNAPT
and DM flags at the Trunk Group level.Direct Media is disallowed under following conditions:
directMediaAllowedBehindNAPT
flag is disabled.directMediaAllowedBehindNAPT
flag is enabled and Signaling IPs of the NAT devices do not match.The CLI syntax to enable Direct Media with NAPT at the trunk group level is shown below (refer Zone - SIP Trunk Group - CLI for details):
% set addressContext <name> zone <name> sipTrunkGroup <TG-Name> media directMediaAllowedBehindNapt <disable | enable>
The CLI syntax to group the endpoint signaling IP addresses for which to allow Direct Media with NAPT is shown below:
% set addressContext <name> natDirectMediaGroup <groupName> dmNatPrefix <IpV4_Address> <prefix_length>
% show addressContext ADDRESS_CONTEXT_1 natDirectMediaGroup natDirectMediaGroup DM_GROUP_1{ dmNatPrefix 10.70.52.91 32; dmNatPrefix 10.70.52.127 32; dmNatPrefix 10.70.52.143 32; } % show addressContext ADDRESS_CONTEXT_1 natDirectMediaGroup natDirectMediaGroup DM_GROUP_2{ dmNatPrefix 10.70.52.92 32; dmNatPrefix 10.70.52.127 32; }