Chapter 19 - STUN Configuration
STUN Client Configuration
238
Mediatrix 1204
STUN Client Configuration
The following describes how to configure the Mediatrix 1204 STUN client via SNMP. You can also use the web
interface to configure the STUN parameters. See
“STUN Configuration” on page 98
for more details.
X
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 1204 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 1204 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 1204 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.
Set the frequency, in seconds, at which a unit should do NAT binding discovery for its signalling
protocol socket in the
stunNatBindingQueryInterval
variable.
This is only used with units that do not register their ports. Units that register their ports do their NAT
binding discovery just before registering.
8.
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.
9.
Restart the Mediatrix 1204 so that the changes may take effect.
Note:
Keepalive messages are not supported on the T.38 socket.
Summary of Contents for Mediatrix 1204
Page 6: ...Mediatrix Telecom a Division of Media5 Corporation Reference Manual...
Page 26: ...Preface About this Manual End User Technical Support xxvi Mediatrix 1204...
Page 27: ...Installation and Web Page Configuration...
Page 28: ...Page Left Intentionally Blank...
Page 50: ...Chapter 1 Installation Verifying the Installation 24 Mediatrix 1204...
Page 98: ...Chapter 4 Web Interface SIP Parameters SIP Authentication 72 Mediatrix 1204...
Page 127: ...SNMP Configuration...
Page 128: ...Page Left Intentionally Blank...
Page 162: ...Chapter 8 IP Address and Network Configuration Ethernet Connection Speed 136 Mediatrix 1204...
Page 170: ...Chapter 9 SIP Servers Presence Compositor Server 144 Mediatrix 1204...
Page 174: ...Chapter 10 DNS SRV Configuration DNS SRV Oriented Settings 148 Mediatrix 1204...
Page 196: ...Chapter 12 Configuration File Download Configuration File Example 170 Mediatrix 1204...
Page 220: ...Chapter 14 Gateway Configuration Detecting a Far End Disconnect 194 Mediatrix 1204...
Page 240: ...Chapter 16 Voice Transmissions User Gain 214 Mediatrix 1204...
Page 288: ...Chapter 23 Telephony Attributes Delayed Hot Line 262 Mediatrix 1204...
Page 294: ...Chapter 25 Quality of Service QoS VLAN 268 Mediatrix 1204...
Page 298: ...Chapter 26 Syslog Daemon Syslog Daemon Configuration 272 Mediatrix 1204...
Page 302: ...Chapter 27 Statistics RTP Statistics 276 Mediatrix 1204...
Page 319: ...Appendices...
Page 320: ...Page Left Intentionally Blank...
Page 332: ...Appendix B Standard Hardware Information Warranty 306 Mediatrix 1204...
Page 336: ...Appendix C Cabling Considerations RJ 11 Telephone Cable 310 Mediatrix 1204...
Page 372: ...Appendix E Glossary Wide Area Network WAN 346 Mediatrix 1204...
Page 390: ...Index W 364 Mediatrix 1204...