Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints.
This document provides instructions for connecting multiple branch IPPBX systems via a SIP Proxy.
Before beginning the configuration, ensure the following conditions are met:
| Item | Description |
|---|---|
| IPPBX-A | First IPPBX in the network. Extension range: 400–499 |
| IPPBX-B | Second IPPBX in the network. Extension range: 500–599 |
| Proxy Domain | Activated on IPPBX-A (e.g., zycoopbx.sip.zycoo.com). Both IPPBX-A and IPPBX-B must be able to connect to this proxy domain. |
Important Notes:
The proxy domain
zycoopbx.sip.zycoo.comis an example provided by Zycoo. You should use your own proxy domain in your trunk configuration instead.Do not activate the SIP proxy on IPPBX-B.
Extension Range: 400–499
Log in to the IPPBX web interface using the admin account
Navigate to Telephony → Outbound Control → Trunks
Click the Add button under SIP Trunks to create a new SIP trunk
Click Submit after configuration
Configure the SIP trunk with the following parameters:
| Parameter | Setting |
|---|---|
| Name | Any common letter (e.g., toB) |
| Type | Server Mode |
| Authentication | Enable |
| Out Proxy Server | zycoopbx.sip.zycoo.com (or your own proxy domain) |
| Out Proxy Port | 5160 |
| Password | Set as needed |
| Identify By | Authuser |
Click the Edit button for the server trunk you just created
Navigate to the Other tab
Clear the From User field to ensure correct caller ID for outbound calls via this trunk
Note Regarding TLS:
If your region blocks standard UDP SIP, you may use TLS as the Transport Protocol. If switching to TLS, update the Out Proxy Port to5162.
Navigate to Telephony → Outbound Control → Dial Rules
Click the Add button for DialOut to create a new rule
Configure the dial rule as follows:
| Parameter | Setting |
|---|---|
| Dial Pattern | 5xx (Matches IPPBX-B extension range 500–599) |
| Available Trunks | Tick the server trunk |
Navigate to Telephony → Outbound Control → Dial Permission
Ensure that DialPlan1 includes DialOut
Because IPPBX-A operates in Server Mode, please update the following setting:
Navigate to Telephony → Preferences → VoIP Advanced
Set Endpoint Identifier Order to: ip,username,auth_username,anonymous
Extension Range: 500–599
Log in to the IPPBX web interface using the admin account
Navigate to Telephony → Outbound Control → Trunks
Click the Add button under SIP Trunks to create a new SIP trunk
Click Submit after configuration
Configure the SIP trunk with the following parameters:
| Parameter | Setting |
|---|---|
| Name | Any common letter (e.g., toA) |
| Type | Client Mode |
| Authentication | Enable |
| Server Address | zycoopbx.sip.zycoo.com (or your own proxy domain) |
| Server Port | 5160 |
| Out Proxy Server | zycoopbx.sip.zycoo.com (or your own proxy domain) |
| Out Proxy Port | 5160 |
| Username | server |
| Authuser | server |
| Password | The password you created for the server trunk on IPPBX-A |
| Identify By | Authuser |
Click the Edit button for the server trunk you just created
Navigate to the Other tab
Clear the From User field to ensure correct caller ID for outbound calls via this trunk
Note Regarding TLS:
If your region blocks standard UDP SIP, you may use TLS as the Transport Protocol. If switching to TLS, update the Out Proxy Port to5162.
Navigate to Telephony → Outbound Control → Dial Rules
Click the Add button for DialOut to create a new rule
Configure the dial rule as follows:
| Parameter | Setting |
|---|---|
| Dial Pattern | 4xx (Matches IPPBX-A extension range 400–499) |
| Available Trunks | Tick the server trunk |
Navigate to Telephony → Outbound Control → Dial Permission
Ensure that DialPlan1 includes DialOut
After completing the configuration on both IPPBX systems:
Extensions on IPPBX-A (400–499) can call extensions on IPPBX-B (500–599)
Extensions on IPPBX-B (500–599) can call extensions on IPPBX-A (400–499)