Manage Proxy Service
Onsite Proxy runs two background services: one that forwards call traffic through the encrypted tunnel, and one that reports the tunnel’s health back to your PBX (private branch exchange, the phone system that manages your extensions and calls). This page explains what each service does and how to control it from the Onsite Proxy host’s command line.
Prerequisites
Section titled “Prerequisites”You have installed Onsite Proxy.
Open a root shell
Section titled “Open a root shell”Every command below is run as root on the Onsite Proxy host.
-
Open a command line on the host running Onsite Proxy.
-
Switch to the root account:
Terminal window sudo -iIf you are prompted for a password, type the password for your current user and press
Enter. Once you are root, the prompt ends in#instead of$.
Tunnel forwarding service
Section titled “Tunnel forwarding service”While this service is running, Onsite Proxy relays SIP (Session Initiation Protocol, the messages that set up and tear down calls) signaling and RTP (Real-time Transport Protocol, the live audio) between your IP phones and the PBX through the encrypted tunnel, keeping that traffic secure end to end.
Run the command that matches what you need:
| Action | Command |
|---|---|
| Start the service | systemctl start proxycore.service |
| Stop the service | systemctl stop proxycore.service |
| Restart the service | systemctl restart proxycore.service |
Tunnel status reporting service
Section titled “Tunnel status reporting service”While this service is running, Onsite Proxy sends connectivity health and operational metrics to the PBX at regular intervals, giving you the data you need for monitoring and diagnostics.
Run the command that matches what you need:
| Action | Command |
|---|---|
| Start the service | systemctl start proxycron.service |
| Stop the service | systemctl stop proxycron.service |
| Restart the service | systemctl restart proxycron.service |