MultiBranch

How to connect Multiple-Branches Via SIP Proxy Services

IPPBX Multi-Branches Connection via Proxy

Overview

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.


Branches Connection Setup Guide

Prerequisites

Before beginning the configuration, ensure the following conditions are met:

ItemDescription
IPPBX-AFirst IPPBX in the network. Extension range: 400–499
IPPBX-BSecond IPPBX in the network. Extension range: 500–599
Proxy DomainActivated 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.com is 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.


1. Configuration of IPPBX-A

Extension Range: 400–499

Step 1.1: Create a SIP Trunk (Server Mode)

  1. Log in to the IPPBX web interface using the admin account

  2. Navigate to Telephony → Outbound Control → Trunks

  3. Click the Add button under SIP Trunks to create a new SIP trunk

  4. Click Submit after configuration

Configure the SIP trunk with the following parameters:

ParameterSetting
NameAny common letter (e.g., toB)
TypeServer Mode
AuthenticationEnable
Out Proxy Serverzycoopbx.sip.zycoo.com (or your own proxy domain)
Out Proxy Port5160
PasswordSet as needed
Identify ByAuthuser


Step 1.2: Edit the Server Trunk

  1. Click the Edit button for the server trunk you just created

  2. Navigate to the Other tab

  3. 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 to 5162.

Step 1.3: Configure Dial Rules

  1. Navigate to Telephony → Outbound Control → Dial Rules

  2. Click the Add button for DialOut to create a new rule

Configure the dial rule as follows:

ParameterSetting
Dial Pattern5xx (Matches IPPBX-B extension range 500–599)
Available TrunksTick the server trunk


Step 1.4: Configure Dial Permission

  1. Navigate to Telephony → Outbound Control → Dial Permission

  2. Ensure that DialPlan1 includes DialOut


Step 1.5: Update VoIP Advanced Settings (Important for Server Mode)

Because IPPBX-A operates in Server Mode, please update the following setting:

  1. Navigate to Telephony → Preferences → VoIP Advanced

  2. Set Endpoint Identifier Order to: ip,username,auth_username,anonymous



2. Configuration of IPPBX-B

Extension Range: 500–599

Step 2.1: Create a SIP Trunk (Client Mode)

  1. Log in to the IPPBX web interface using the admin account

  2. Navigate to Telephony → Outbound Control → Trunks

  3. Click the Add button under SIP Trunks to create a new SIP trunk

  4. Click Submit after configuration

Configure the SIP trunk with the following parameters:

ParameterSetting
NameAny common letter (e.g., toA)
TypeClient Mode
AuthenticationEnable
Server Addresszycoopbx.sip.zycoo.com (or your own proxy domain)
Server Port5160
Out Proxy Serverzycoopbx.sip.zycoo.com (or your own proxy domain)
Out Proxy Port5160
Usernameserver
Authuserserver
PasswordThe password you created for the server trunk on IPPBX-A
Identify ByAuthuser


Step 2.2: Edit the Server Trunk

  1. Click the Edit button for the server trunk you just created

  2. Navigate to the Other tab

  3. 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 to 5162.

Step 2.3: Configure Dial Rules

  1. Navigate to Telephony → Outbound Control → Dial Rules

  2. Click the Add button for DialOut to create a new rule

Configure the dial rule as follows:

ParameterSetting
Dial Pattern4xx (Matches IPPBX-A extension range 400–499)
Available TrunksTick the server trunk


Step 2.4: Configure Dial Permission

  1. Navigate to Telephony → Outbound Control → Dial Permission

  2. Ensure that DialPlan1 includes DialOut



3. Verification

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)


    • Related Articles

    • V3-ZYCOO Proxy Application

      Hi pls find out the attachment,then try to refer
    • sip trunk ims-demo configuration

      pls find out the attachment
    • How to connect Two IPPBX

      Connection Between Two IPPBX Overview 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 ...
    • How to config SIPTrunk

      SIP Trunk Connection Requirements The following connection method applies depending on whether the SIP proxy feature is used and whether the provider operates on a private network: When using the SIP proxy feature with a private SIP trunk provider ...
    • T-Series Coocall Applcation

      It is about the Coocall on T-Series IPPBX application