
Chapter 19 - STUN Configuration
STUN Client Configuration
286
Mediatrix 4104
STUN Client Configuration
The following describes how to configure the Mediatrix 4104 STUN client via SNMP. You can also use the web
interface to configure the STUN parameters. See
“STUN Configuration” on page 119
for more details.
To configure the STUN client:
1.
In the
ipAddressConfig
folder, locate the
ipAddressConfigStunStatic
group.
No DHCP value is available, you can only define STUN server information with static values.
2.
Set the static STUN server IP address or Fully Qualified Domain Name (FQDN) in the
stunStaticHost
variable.
The default value is
192.168.0.10
.
3.
Set the static STUN server IP port number in the
stunStaticPort
variable.
The default value is
3478
.
4.
In the
stunMIB
, set the amount of time, in seconds, the Mediatrix 4104 should keep a STUN query
result in its internal cache in the
stunQueryCacheDuration
variable.
Keeping a query in a cache helps to reduce the amount of unnecessary STUN queries when an RTP
or T.38 socket is re-used within a short period of time. Available values range from 0 s to 3600 s.
When set to
0
, the cache is disabled and the unit performs a STUN query each time a socket needs
to be used.
5.
Set the maximum amount of time, in milliseconds, the Mediatrix 4104 should wait for an answer to
a STUN query sent to a STUN server in the
stunQueryTimeout
variable.
Available values range from 500 ms to 10000 ms. The default value is 1000 ms.
Caution is advised in setting long timeouts. In the advent of an unresponsive STUN server, the unit
may end up waiting a long time before it determines that a call cannot be made due to the STUN
server failure.
6.
Define the interval, in seconds, at which the Mediatrix 4104 sends blank keepalive messages to
keep a firewall hole opened in the
stunKeepAliveInterval
variable.
Keepalive messages are used by both the signalling protocol socket and the RTP socket to keep
those connections opened through a firewall. Available values range from 0 s to 120 s. The default
value is 30 s.
When set to
0
, no keepalive packet is sent.
7.
Enable the STUN client by setting the
stunEnable
variable to
enable
.
This enables the STUN client for all sockets (VoIP signalling, RTP and T.38) altogether.
The following behaviour also applies:
•
If a unit is unable to re-register and there are no ongoing calls, it tries to rediscover its
NAT binding for the signalling protocol socket.
•
If a STUN server is unresponsive, it is put in a “penalty box” for 60 seconds. See
for more details.
8.
Restart the Mediatrix 4104 so that the changes may take effect.
Note:
Keepalive messages are not supported on the T.38 socket.
Summary of Contents for Mediatrix 4104
Page 23: ...Installation and Web Page Configuration ...
Page 24: ...Page Left Intentionally Blank ...
Page 136: ...Chapter 5 Web Interface Telephony Miscellaneous 114 Mediatrix 4104 ...
Page 144: ...Chapter 6 Web Interface Advanced STUN Configuration 122 Mediatrix 4104 ...
Page 145: ...SNMP Configuration ...
Page 146: ...Page Left Intentionally Blank ...
Page 184: ...Chapter 8 IP Address and Network Configuration Ethernet Connection Speed 162 Mediatrix 4104 ...
Page 196: ...Chapter 10 DNS SRV Configuration DNS SRV Oriented Settings 174 Mediatrix 4104 ...
Page 226: ...Chapter 12 Configuration File Download Configuration File Example 204 Mediatrix 4104 ...
Page 242: ...Chapter 13 Software Download Emergency Software Procedure 220 Mediatrix 4104 ...
Page 268: ...Chapter 15 Voice Transmissions User Gain 246 Mediatrix 4104 ...
Page 278: ...Chapter 17 Bypass Configuration Bypass Connector Settings 256 Mediatrix 4104 ...
Page 322: ...Chapter 21 Digit Maps Digit Map Examples 300 Mediatrix 4104 ...
Page 350: ...Chapter 24 Telephony Attributes Call Rejection 328 Mediatrix 4104 ...
Page 362: ...Chapter 27 Quality of Service QoS VLAN 340 Mediatrix 4104 ...
Page 366: ...Chapter 28 Syslog Daemon Syslog Daemon Configuration 344 Mediatrix 4104 ...
Page 370: ...Chapter 29 Statistics RTP Statistics 348 Mediatrix 4104 ...
Page 385: ...Appendices ...
Page 386: ...Page Left Intentionally Blank ...
Page 400: ...Appendix B Standard Hardware Information Warranty 378 Mediatrix 4104 ...
Page 404: ...Appendix C Cabling Considerations RJ 11 Telephone Cable 382 Mediatrix 4104 ...
Page 446: ...Appendix E Glossary Wide Area Network WAN 424 Mediatrix 4104 ...