snom technology AG • 39
[
S N O M
4 S N A T F
I L T E R
]
4.3.9 Maximum Packet Size
The
Max MTU
tells the filter what the maximum packet size
should be. Typically, on Ethernet networks, packets with more than
1492 bytes payload cannot be transported without splitting them up into
several packets. As described in the hide routing feature, this can lead to
big problems in today’s DSL networks.
If you set this variable, the NAT filter will attempt to compress the
message until it fits into the size. By default, it will use the short names
(e.g. “l” instead of “Content-Length”). If this should not be enough, it
will start to remove headers. These headers are: “User-Agent”, “Accept-
Language”, “P-Key-Flags”, “Allow”, and “Allow-Events”. If the packet is still
too big, it will stop compressing the packet and send it as it is. If you want
to remove other headers, please use the “remove the following headers”
feature described below.
4.3.10
Silence Suppression
Silence suppression is a little problematic for the filter. When a
user agent does not send media, it might lead to closing of allocated NAT
ports on the media. Therefore, it is usually safer to turn silence suppres-
sion off. We recommend doing this by provisioning the respective setting
to the user agents; however there is a way to indicate this in the SDP as
well. If you turn the
Add silence suppression flag
on, the filter will add
this hint to the SDP. Usually it does not cause any additional problems;
however it makes the packet a little bit bigger which could cause addi-
tional problems with the UDP fragmentation problem.
4.3.11
Connection Oriented Media
Typically, you want two-way communication between the same
ports in a conversation. Unfortunately, the IETF specifications do not
mandate this. For example, it is allowed to have different ports for send-
ing and for receiving data. This causes big problems when trying to make
phone calls trough NAT. The comedia approach tries to standardize the
requirements on using the same port for sending and receiving and to
indicate if two-way communication is really desired. By turning the
Add
comedia flag
feature on, you will make the filter add a suitable flag to
SDP to indicate that this behaviour is desired. The disadvantage of this
4.