Linux command-line checks help locate addressing, routing, firewall and media-path faults in unified communications deployments. Begin with read-only inspection and identify the distribution and network manager before changing configuration. Asterisk and FreeSWITCH are common Linux deployments, but the commands and service names must match the installed system.
In a real unified communications project, many problems are not caused by the communication application itself. They may come from incorrect IP configuration, unreachable routes, blocked firewall ports, unstable network links, or signaling packets that fail to reach the correct service. A practical Linux operation workflow helps implementation teams quickly check the server environment, adjust network parameters, verify service connectivity, and collect evidence for further analysis.

Why Server-Level Operations Matter
Unified communications platforms usually depend on stable IP networking, open service ports, and reliable media transmission. SIP signaling, RTP voice streams, video media, web management interfaces, database services, and gateway connections all need correct network and system configuration. If the server IP address is wrong, if the gateway is unavailable, or if the firewall blocks key ports, users may experience registration failure, one-way audio, failed calls, missing video, or unstable conferencing.
Use command-line inspection to confirm the current state before making changes. Network activation and firewall changes can interrupt remote access and calls. Prepare console access, a maintenance window, a configuration backup and a rollback method for any production change.
Checking the Server IP Address
The first basic task in a communication project is to confirm the IP address of the server. Unified communications systems often need to communicate with SIP phones, gateways, trunks, dispatch consoles, recording servers, management clients, and third-party platforms. If the IP address is incorrect or the wrong network interface is used, devices may fail to register or connect.
The following command can be used to view the current IP address and network interface information:
# ip addr
This command displays network interface names, IP addresses, subnet information, and link status. In a deployment environment, engineers should check whether the server has received the expected IP address, whether the correct network card is active, and whether the address belongs to the planned communication network segment.
Identify the Network Configuration Method
Start by identifying the operating system. The old CentOS network-scripts workflow is not a universal Linux procedure. CentOS Linux 7 reached end of life on 30 June 2024. RHEL 9 removed legacy network-scripts, and RHEL 10 removed ifcfg support. Use the supported configuration method for the installed release.
cat /etc/os-release
On systems managed by NetworkManager, inspect devices and connection profiles with these read-only commands. Other systems may use Netplan or systemd-networkd and require their own documented workflow.
nmcli device status nmcli connection show ip route
Before setting a static address, confirm the interface, active profile, subnet, gateway, DNS and management route. Do not overwrite a working profile merely because an example uses a different interface name.
nmcli connection show "PROFILE_NAME"
The following NetworkManager example modifies a profile but is not a universal ready-to-run configuration. Replace PROFILE_NAME and all documentation addresses with approved values. Preserve the previous profile settings and an independent recovery path before applying any change.
sudo nmcli connection modify "PROFILE_NAME" ipv4.method manual ipv4.addresses "192.0.2.10/24" ipv4.gateway "192.0.2.1" ipv4.dns "192.0.2.53"
The addresses above are documentation examples. Profile modification and activation are separate operations. Review all affected routes and DNS settings before activation; using an unsuitable profile can disconnect the current session.
Apply Changes and Verify Connectivity
On a NetworkManager-managed host, activate only the reviewed connection in the planned maintenance window. This may interrupt SSH and active media. Have console access and the rollback procedure ready; restarting the entire networking service is not the default troubleshooting step.
sudo nmcli connection up "PROFILE_NAME"
After activation, inspect addresses and routes again. A short ping test can check whether a selected host answers ICMP; replace the example destination with an authorized gateway or service endpoint.
ip addr ip route ping -c 4 192.0.2.1
A failed ping does not prove that SIP or media is unreachable because ICMP may be filtered. A successful ping does not prove that a service port is open. Check the actual signaling and negotiated media paths, listening sockets and application logs.

Checking and Managing Firewall Status
Firewall configuration is one of the most common causes of communication failure. SIP platforms, RTP media streams, web management pages, video services, and gateway connections all require specific ports to be reachable. If the firewall blocks these ports, users may encounter failed registration, failed calling, one-way audio, no video, or unstable media transmission.
The following command checks the firewall service status:
systemctl status firewalld.service sudo firewall-cmd --state
A running firewalld service does not show which zone or rule applies to the traffic. Inspect active zones and their interface or source bindings before diagnosing a blocked port.
sudo firewall-cmd --get-active-zones
Inspect the rules in the relevant zone; the following command lists all zones for review. Runtime and permanent configurations are distinct. Do not disable the firewall as a standard deployment step.
sudo firewall-cmd --list-all-zones
Permit only the documented signaling, media and management traffic from approved sources. Use the configured RTP range rather than an assumed universal range. Apply and verify narrowly scoped changes through the local change process. If firewalld is absent, inspect the actual host firewall and upstream controls.
Using Packet Capture for Signaling Analysis
Packet capture is one of the most important troubleshooting methods in unified communications projects. When calls fail, video cannot be opened, devices cannot register, or voice becomes one-way, packet capture can show whether signaling and media packets are actually reaching the server.
Capture only an authorized endpoint and a limited test window. This example uses timeout and tcpdump to stop after 30 seconds or 2000 packets, whichever comes first. Replace the documentation address and choose an appropriate interface and secure output directory.
sudo timeout 30s tcpdump -i any -nn -s 0 -c 2000 -w uc-check.pcap 'host 192.0.2.20'
The capture includes full packets for the selected host and may contain sensitive signaling or media. Check available space and file permissions. Reproduce the agreed test during the capture. Timeout may return status 124 when it stops the command; check the capture file and tcpdump output rather than treating that status alone as a capture failure.
Transfer captures through an approved secure method and analyze a copy with Wireshark or another suitable tool. Minimize access and retention. Encryption may prevent inspection of SIP bodies or media content; a packet capture does not automatically decrypt TLS or SRTP.
Correlate the capture with application logs and negotiated addresses. Packets observed on one host show that observation point, not the whole end-to-end path. Distinguish sender behavior, receiver behavior, NAT mapping and network loss before changing configuration.
Building an Operational Checklist
For long-term maintenance, organizations should turn these commands into a standard checklist. Before going online, the team should confirm the server IP address, gateway, DNS, network reachability, firewall policy, required ports, service startup status, and packet capture method. During troubleshooting, the same checklist can help engineers avoid missing basic problems.
Identify the operating system and network manager.
Inspect addresses, routes and listening services.
Review the active firewall zones and required paths.
Test signaling and media separately.
Capture an authorized, bounded test when needed.
Verify service recovery and record the final configuration.

Security and Operation Considerations
While these commands are useful, they should be used with proper permission control. Network configuration changes can interrupt service. Firewall changes can affect system security. Packet capture files may contain IP addresses, signaling information, and communication metadata. Therefore, only authorized engineers should perform these operations in production environments.
Record the original configuration and the reason for every change. Keep firewall protection in place while testing targeted rules. Restrict capture access, remove unnecessary retained data and verify that normal service and management access remain available after the work.
Conclusion
Use ip addr and ip route for network inspection, the installed network manager for approved changes, firewall tools for rule review, and bounded packet captures for evidence. Select commands by distribution and version, then verify signaling and media separately.