Network & devices → Network settings (admin only) collects the server’s addresses in one place and moves all of them in one step when the server’s IP address changes.
server_ip): the address calls reach the
server at; Asterisk advertises it as its RTP ICE candidate. Empty: the main address.pjsip_external_ip): the address in front of NAT, for callers outside.pjsip_local_net): the networks Asterisk treats as inside NAT, written as
192.168.1.0/24, comma separated.
Saving marks the transports and RTP for Apply. These fields were on PBX settings before.A new DHCP lease, a cloned virtual machine or a move to another network leaves the old address in many places. Calls then fail in ways that are hard to trace: TURN has no audio, desk phones register to the old address, the self-signed certificate names the wrong IP.
relay-ip and allowed-peer-ip (every address of the server), the mDNS
alias, and issues a new self-signed certificate when the active one names the old IP;The same from the command line, for a server whose portal cannot be reached any more:
sudo aipbx-readdress 10.8.0.12 10.9.0.5 # shows what would change
sudo aipbx-readdress 10.8.0.12 10.9.0.5 --yes # applies it
| Place | Holds |
|---|---|
sys_settings: server_ip, pjsip_external_ip, pjsip_local_net |
RTP ICE candidate, NAT of every transport (/etc/asterisk/pbx/pjsip_transports.conf, rtp.conf) |
sys_settings: provision_* |
what desk phones are told; their files in /var/lib/aipbx/tftp |
/etc/turnserver.conf |
relay-ip, allowed-peer-ip |
/etc/systemd/system/aipbx-mdns.service |
the .local name’s address |
/etc/ssl/aipbx/aipbx.crt (self-signed) |
the IP in the certificate |
sudo aipbx-priv net status prints the file side. The files are changed by
aipbx-priv net readdress, which runs in its own systemd unit (aipbx-readdress): the portal’s
sandbox keeps /etc read-only.