Snom 4S manual Silence Suppression, Connection Oriented Media, Removing Headers

Page 38

4.

[ S N O M 4 S N A T F I L T E R ]

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-Lan- guage”, “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.12Silence 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.13Connection 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 flag is again that it makes the messages bigger and this increases the probability that you will have problems with UDP fragmentation.

4.3.14Removing Headers

As stated before, you may want to remove some headers to make messages shorter. The “Remove the following headers” setting lists the headers (separated by space) that you want to strip from a SIP

38 • Configuration

Image 38
Contents Snom 4S NAT Filter Admin Manual Snom 4S NAT Filter Version Table of Contents Snmp Overview Features ApplicationsSnom technology AG Overview Architecture NAT Filter and SIPNAT Symmetrical RTP Signalling SIPHow does NAT work? Media RTP Classification of User AgentsProbing Media Paths Role of the NAT FilterOptimizing the Media Path for Symmetrical NATSBC Behaviour RegisteringRTP Relay Snom technology AG Scaling and Redundancy NATDetecting the right NAT Filter STUN/ICE-Aware User Agents Requirements on User AgentsNon NAT-Aware User Agents Defining the Maximum Session Time Architecture Installation WindowsInstallation Snom technology AG Installation Snom technology AG Linux Rpm -ihv snomnatf-2.10.*.rpm Installation Logging Port BindingStandard Port Random Port System Settings LoggingPreparing Recovery General Outound ProxyMedia Relay Media PortsPort Budgets Controlling RoutingMultiple 2xx Handling Maximum Packet Size ChallengingTrusted Addresses Removing Headers Silence SuppressionConnection Oriented Media Clir Addresses Codec ControlWeb Server Integration Timeout Settings Register TimeoutsCall Timeouts Security Settings Snom technology AG Outbound Proxy List System Information Server LogTrace Call History Current Ports Currently Handled UA Memory StatisticsConfiguration Web Server Integration Authentication Interface to the Web ServerSnom technology AG Web Server Integration Registration Call Initiation Snom technology AG Call Termination Snom technology AG Web Server Integration Setup of the SBC Setup of the ToolsAvailable OID OIDSnom technology AG Snmp Checklist for Installation Checklist for Installation Reader‘s Feedback Snom technology AG All rights reserved