The PG can select the NAT pool by matching any combination of the following protocols:
Selecting a NAT pool based on transport protocol:
The PGC can set a transport protocol in the media description in the local descriptor command in Add and Modify commands that it sends to the PG. The media description format is:
- m=<media> <port> <transport> <format list>
where the transport field specifies the transport protocol. For example:
- m=video 49170/2 RTP/AVP 31
When you set up your NAT pools, you specify a transport protocol or list of protocols. Do not configure the NAT pool to be remotely controlled by the PGC. Also, set the port in the NAT pool to automatic.
When the PG receives an Add or Modify command with a media description, it searches the NAT pools associated with the virtual interface and attempts to match the transport protocols in the description with the transport protocols specified in the NAT pools. The PG uses the first NAT pool that has a matching transport protocol. If it cannot find a match, it replies to the PGC with the following error:
- ER=500 {”Application: Media handler not found”}