SIP Penalty Box
Reference Manual (SIP Version)
Mediatrix 4104
265
SIP Penalty Box
The penalty box feature is used to “quarantine” a given host which address times out. During that time, the
address is considered as “non-responding” for all requests.
This feature is most useful when using multiple servers and some of them are down. It ensures that users wait
a minimal period of time before trying a secondary host.
You can also set these parameters via the web interface, as described in
Penalty Box vs Transport Types
Media5 recommends to use this feature with care when supporting multiple transports (see
for more details) or you may experience unwanted behaviours.
When the Mediatrix 4104 must send a packet, it retrieves the destination from the packet. If the destination
address does not specify a transport to use and does not have a DNS SRV entry that configures which
transport to use, then the Mediatrix 4104 tries all transports it supports, starting with UDP. If this fails, it tries
with TCP. The unit begins with UDP because all SIP implementations must support this transport, while the
mandatory support of TCP was only introduced in RFC 3261.
Let’s say for instance that the Mediatrix 4104 supports both the UDP and TCP transports. It tries to reach
endpoint “B” for which the destination address does not specify a transport and there is no DNS SRV entry to
specify which transports to use in which order. It turns out that this endpoint “B” is also down. In this case, the
Mediatrix 4104 first tries to contact endpoint “B” via UDP. After a timeout period, UDP is placed in the penalty
box and the unit then tries to contact endpoint “B” via TCP. This fails as well and TCP is also placed in the
penalty box.
Now, let’s assume endpoint “B” comes back to life and the Mediatrix 4104 tries again to contact it before UDP
and TCP are released from the penalty box. First, the unit tries UDP, but it is currently in the penalty box and
there is another transport left to try. The Mediatrix 4104 skips over UDP and tries the next target, which is TCP.
Again, TCP is still in the penalty box, but this time, it is the last target the Mediatrix 4104 can try, so penalty
box or not, TCP is used all the same to try to contact endpoint “B”.
There is a problem if endpoint “B” only supports UDP (RFC 2543-based implementation). Endpoint “B” is up,
but the Mediatrix 4104 still cannot contact it: with UDP and TCP in the penalty box, the unit only tries to contact
endpoint “B” via its last choice, which is TCP.
The same scenario would not have any problem if the penalty box feature was disabled. Another option is to
disable TCP in the Mediatrix 4104, which makes UDP the only possible choice for the unit and forces to use
UDP even if it is in the penalty box.
You must fully understand the above problem before configuring this feature. Mixing endpoints that do not
support the same set of transports with this feature enabled can lead to the above problems, so it is suggested
to either properly configure SRV records for the hosts that can be reached or be sure that all hosts on the
network support the same transport set before enabling this feature.
Penalty Box Configuration
The following steps describe how to configure the penalty box feature.
To set the penalty box feature:
1.
In the
sipMIB
, locate the
sipPenaltyBox
group.
2.
Set the amount of time, in seconds, that a host spends in the penalty box in the
sipPenaltyBoxTime
variable.
Changing the value does not affect IP addresses that are already in the penalty box. The
sipPenaltyBoxTime
only affects new entries in the penalty box.
Note:
It is not the destination itself that is placed in the penalty box, but the combination of address, port
and transport. When a host is in the penalty box, it is never used to try to connect to a remote host unless it
is the last choice for the Mediatrix 4104 and there are no more options to try after this host.
Содержание Mediatrix 4104
Страница 23: ...Installation and Web Page Configuration ...
Страница 24: ...Page Left Intentionally Blank ...
Страница 136: ...Chapter 5 Web Interface Telephony Miscellaneous 114 Mediatrix 4104 ...
Страница 144: ...Chapter 6 Web Interface Advanced STUN Configuration 122 Mediatrix 4104 ...
Страница 145: ...SNMP Configuration ...
Страница 146: ...Page Left Intentionally Blank ...
Страница 162: ...Chapter 7 MIB Structure and SNMP Sending Configuration Data to the Mediatrix 4104 140 Mediatrix 4104 ...
Страница 184: ...Chapter 8 IP Address and Network Configuration Ethernet Connection Speed 162 Mediatrix 4104 ...
Страница 196: ...Chapter 10 DNS SRV Configuration DNS SRV Oriented Settings 174 Mediatrix 4104 ...
Страница 226: ...Chapter 12 Configuration File Download Configuration File Example 204 Mediatrix 4104 ...
Страница 242: ...Chapter 13 Software Download Emergency Software Procedure 220 Mediatrix 4104 ...
Страница 268: ...Chapter 15 Voice Transmissions User Gain 246 Mediatrix 4104 ...
Страница 278: ...Chapter 17 Bypass Configuration Bypass Connector Settings 256 Mediatrix 4104 ...
Страница 322: ...Chapter 21 Digit Maps Digit Map Examples 300 Mediatrix 4104 ...
Страница 350: ...Chapter 24 Telephony Attributes Call Rejection 328 Mediatrix 4104 ...
Страница 362: ...Chapter 27 Quality of Service QoS VLAN 340 Mediatrix 4104 ...
Страница 366: ...Chapter 28 Syslog Daemon Syslog Daemon Configuration 344 Mediatrix 4104 ...
Страница 370: ...Chapter 29 Statistics RTP Statistics 348 Mediatrix 4104 ...
Страница 385: ...Appendices ...
Страница 386: ...Page Left Intentionally Blank ...
Страница 390: ...Appendix A Standards Compliance and Safety Information Disclaimers 368 Mediatrix 4104 RoHS China ...
Страница 394: ...Appendix A Standards Compliance and Safety Information Safety Recommendations 372 Mediatrix 4104 ...
Страница 400: ...Appendix B Standard Hardware Information Warranty 378 Mediatrix 4104 ...
Страница 404: ...Appendix C Cabling Considerations RJ 11 Telephone Cable 382 Mediatrix 4104 ...
Страница 446: ...Appendix E Glossary Wide Area Network WAN 424 Mediatrix 4104 ...