IPPBX IP4G User Manual
~ 49 ~
ATCOM TECHNOLOGY CO., LIMITED
Just setting STUN server / port is OK.
There are many public STUN server on Internet: http://www.voip-info.org/wiki/view/STUN
b. NAT
The External IP, External Host and Local Network Identification settings are used if you use IPPBX behind a NAT
device to communicate with services on the outside.
External IP address
Address that we're going to put in outbound SIP messages if we're behind a NAT. The externip and localnet is
used when registering and communicating with other proxies that we're registered with.
External Host
Alternatively you can specify an external host, and IPPBX will perform DNS queries periodically. Not
recommended for production environments! Use External IP instead.
External Refresh Interval
How often to refresh External Host if used.
NAT Mode
Global NAT settings (Affects all peers and users), is used when Asterisk is on a public IP, communicating with
devices hidden behind a NAT device (broadband router). If you have one-way audio problems, you usually have
problems with your NAT configuration or your firewall's support of SIP+RTP ports.
Local Network identification
You may add multiple local networks. A reasonable set of defaults are set here.
Allow RTP Reinvite
By default, Asterisk tries to re-invite the audio to an optimal path. If there's no reason for IPPBX to stay in the
media path, the media will be redirected. This does not really work with in the case where IPPBX is outside and
have clients on the inside of a NAT. In that case, you want to set this option to no nat.