In this section:
To allow Direct Media between NAT devices, or between NAT and Non-NAT devices, the following configuration is necessary.
The configuration of Direct Media with NAT is not allowed under following conditions:
addressContext
name of both the endpoints does not match.ACCESS SIDE:
directMediaAllowed
enableddirectMediaAllowedBehindNat
enableduseDirectMedia
enabledCORE SIDE (towards Application Server):
sendDirectMediaInfoInSdpAttribute
enableduseDirectMedia
enabledThe dmNatPrefix
table is not required to create as the endpoints are behind the same NAT.
ACCESS SIDE:
directMediaAllowed
enableddirectMediaAllowedBehindNat
enabledsdpTransparencyState
disableduseDirectMedia
enabledCORE SIDE (towards Application Server):
sendDirectMediaInfoInSdpAttribute
enableduseDirectMedia
enableddmNatPrefix
on addressContext
This is an occasional scenario where an endpoint behind NAT can have Direct Media with endpoint not behind NAT. However, if such a case exists, SBC exchanges the media IPs of such devices, while the actual exchange of media depends on the network.
ACCESS SIDE:
directMediaAllowed
enableddirectMediaAllowedBehindNat
enabledsdpTransparencyState
disableduseDirectMedia
enabledCORE SIDE (towards Application Server):
sendDirectMediaInfoInSdpAttribute
enableduseDirectMedia
enableddmNatPrefix
on addressContext
The CLI syntax to enable Direct Media with NAPT on trunk group is the following:
% 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 the following:
% set addressContext <name> natDirectMediaGroup <groupName> dmNatPrefix <IpV4_Address> <prefixLen>