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.
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 Trunk Group level is shown below (see 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> <prefixLen>
Parameter | Length/Range | Description |
---|---|---|
| 1-23 | Name of group of signaling IP addresses for NAT devices supporting Direct Media residing in NAPT Qualification Table. |
| N/A | Grouped public signaling IP addresses of NAT devices that allow direct media. This field consists of an IP address and prefix as specified below:
IP address “0.0.0.0” or “::0” is not allowed in the configuration.
|
admin@SEMAL% 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; } admin@SEMAL% show addressContext ADDRESS_CONTEXT_1 natDirectMediaGroup natDirectMediaGroup DM_GROUP_2{ dmNatPrefix 10.70.52.92 32; dmNatPrefix 10.70.52.127 32; }