Overview
The Onsite Proxy is a command-line proxy software that creates a secure connection between your Cloud PBX and IP phones deployed at remote locations. It overcomes common firewall and networking issues by acting as a local relay between the phones and the cloud-based PBX.
To manage Onsite Proxy instances, log in to the PBX admin portal and navigate to System > Onsite Proxy.
Scenario
When multiple IP phones are deployed in a remote subnet (e.g., a branch office), you can install the Onsite Proxy on a host in the same subnet as those phones. Only the proxy needs a connection to the cloud PBX—the individual phones do not need direct access to the cloud.
The onsite proxy then forwards provisioning links, SIP signaling, and RTP packets between the phones and the PBX, making them work as if they were on the same network as the PBX. This eliminates the need to configure port forwarding or firewall rules for each phone individually and reduces latency compared to traditional remote access solutions.
Key features
Auto-discovery of IP phones
The Onsite Proxy automatically discovers available IP phones on the same subnet via PnP (Plug and Play) and reports their information (including MAC address, IP address, vendor, and model) to the PBX.
Zero-touch auto provisioning
When you assign extensions to IP phones discovered by the onsite proxy, the proxy automatically pushes the provisioning link from the PBX to the phones. The phones then download their configuration and complete extension registration without manual intervention.
Proxy SIP signaling
The onsite proxy forwards SIP registration requests from phones to the PBX and maintains a stable registration. It relays all SIP signaling (such as REGISTER, INVITE, and BYE) between the phones and the PBX over a single UDP port 5060 on the proxy host.
Audio RTP Passthrough
The onsite proxy supports audio RTP passthrough. When enabled, if IP phones are registered via the same Onsite Proxy, the RTP audio streams between them are transmitted directly (peer-to-peer), bypassing both the PBX and the proxy. This reduces latency, saves bandwidth, and improves call quality.
Tip: Audio RTP passthrough does not apply in certain scenarios, such as call recording or call monitoring. In those cases, audio streams are still relayed by the PBX regardless of this setting.
Requirements
Onsite Proxy host
| Item | Requirement |
|---|---|
| Network | The host must reside in the same subnet as the IP phones, and there must be network connectivity between the subnet and the Cloud PBX server. |
| Operating system | Linux (x86_64): Ubuntu 24.04 LTS or Debian 12. Linux (ARM64): Raspberry Pi OS. |
| Port | UDP port 5060 must be available on the host. |
| IP address | The host must have a static IP address assigned. |
Recommended specifications
The capacity supported by the Onsite Proxy depends on the system resources allocated to the host.
| vCPU | Memory (GB) | Concurrent Calls | IP Phones | BLFs |
|---|---|---|---|---|
| 1 | 1 | ≤ 250 | ≤ 500 | ≤ 500 |
| 2 | 2 | ≤ 500 | ≤ 1000 | ≤ 1000 |
| 4 | 4 | ≤ 1000 | — | |
Tip: The total number of concurrent calls across all Onsite Proxies connected to the same Cloud PBX must not exceed the maximum concurrent call limit of your PBX plan.
Step 1. Add an onsite proxy instance on the PBX
Before installing the Onsite Proxy software, you need to create an Onsite Proxy instance on the PBX. This generates the connection credentials (connection address, UUID, and secret key) that you will need during the proxy installation.
Tip: By default, up to 100 Onsite Proxy instances can be added. If you require more, contact Virtual-Call support.
- Log in to the PBX admin portal and go to System > Onsite Proxy, then click Add.
In the Basic section, configure the following settings:
Setting Description Name Enter a name to identify this onsite proxy instance (e.g., the branch office location). Platform Select Linux. - In the Audio RTP Passthrough section, enable or disable the option as required.
- If enabled, RTP audio streams between phones registered via the same Onsite Proxy are transmitted directly (peer-to-peer).
- If disabled, RTP audio streams are relayed by the PBX.
- Click Save and Apply.
The Onsite Proxy instance appears in the list with its automatically generated connection information (connection address, UUID, and secret key).
Important: Note down the connection information—you will need it when configuring the Onsite Proxy software. To view the credentials, click the edit icon next to the instance and expand Connection Information.
Step 2. Install the Onsite Proxy software
Install the Onsite Proxy on a Linux host in the same subnet as the IP phones. During installation, a configuration wizard guides you through connecting the proxy to the Cloud PBX.
Prerequisites
- You have added an Onsite Proxy instance on the PBX (Step 1) and obtained the connection credentials (connection address, UUID, secret key).
- The Linux host meets the requirements listed above (operating system, port, IP address).
- HTTPS must be enabled for the PBX connection address.
Download and extract the installation package
- Access the command line on the Onsite Proxy host.
- Run
sudo -ito switch to the root user. - Download the latest Onsite Proxy installation package:
- x86_64:
wget https://www.virtual-call.net/hubfs/download/onsite-proxy/onsiteproxy-x86_64.tar.gz -O /tmp/onsiteproxy.tar.gz - ARM64:
wget https://www.virtual-call.net/hubfs/download/onsite-proxy/onsiteproxy-aarch64.tar.gz -O /tmp/onsiteproxy.tar.gz
- x86_64:
- Extract the package to the root directory:
tar -xzf /tmp/onsiteproxy.tar.gz -C /
Run the installer and configure the connection
- Run
onsite-proxy-installto start the installation. In the Onsite Proxy Installation window, verify the version and system details, then select Yes and press Enter.
In the Important Requirements window, confirm that UDP port 5060 is available and HTTPS is enabled, then press Enter.
In the Configuration Wizard welcome window, press Enter to begin.
Configure the connection information from the PBX:
Setting Description PBX Connection Address Paste the connection address obtained from the PBX. This can be an IP address or a domain name. UUID Paste the UUID obtained from the PBX. Secret Key Paste the secret key obtained from the PBX. Keep this key secure and do not share it. PBX External Web Server Port The HTTPS port of the PBX. For the Cloud PBX, the default is 443.PBX External Tunnel Port The tunnel port used for the proxy connection. Default: 1090.Local IP Select the static IP address assigned to the proxy host, or choose manual to enter it manually. In the Configuration Summary window, verify all settings and select Yes to confirm.
Wait for the verification to complete. In the Verification Successful and Configuration Complete windows, press Enter to continue.
In the Installation Complete window, press Enter to finish.
The onsite proxy is now installed and connected to the Cloud PBX. On the PBX, the instance status changes to a green checkmark, showing the proxy version, internal IP address, and public IP address.
Tip: The onsite proxy automatically starts on boot and reconnects to the PBX after network restoration.
Manage Onsite Proxy
View status and information
Go to System > Onsite Proxy to view the status of all Onsite Proxy instances. The list shows the name, platform, version, UUID, and secret key for each instance. You can also use the search field and column filter to find specific instances.
Edit an Onsite Proxy instance
Click the edit icon next to an instance to change its name, platform, or audio RTP passthrough setting. The Connection Information section also displays the connection address, UUID, and secret key.
Query proxy status and information
After the onsite proxy is connected, you can view detailed status information by clicking the status icon next to the instance. This includes the proxy version, internal and public IP addresses, and system resource utilization.
Reconfigure or uninstall the proxy
After installation, you can use the following commands on the proxy host:
| Command | Description |
|---|---|
onsite-proxy-configure | Reconfigure the connection settings (e.g., if you need to connect to a different PBX or update credentials). |
onsite-proxy-upgrade onsiteproxy-xxxx.tar.gz | Upgrade the onsite proxy to a new version. |
onsite-proxy-uninstall | Uninstall the Onsite Proxy from the host. |
Important: If the connection between the PBX and the Onsite Proxy is lost, or if system resource utilization on the proxy host exceeds critical thresholds (CPU > 85%, memory > 85%, or disk > 95%), the PBX triggers an Onsite Proxy Error event notification to alert the configured contacts.
Comments
0 comments
Article is closed for comments.