In this section:
To allow Direct Media between NAT devices, or between NAT and Non-NAT devices, the following configuration is necessary.
Direct Media with NAT will not work 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 as follows:
% 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 as follows:
set addressContext <name> natDirectMediaGroup <groupName> dmNatPrefix <IpV4_Address> <prefixLen>