How to Interconnect 2 P-Series Cloud PBX by Account Trunk

Overview

Applicability

Targets

Trunk Interconnection

Routing Rules

Caller ID Display

Applicability

  • Model: P-Series Cloud Edition
  • Firmware version: Any
  • PBX Location:  PBX in same or different region are both supported.

 

Targets

  • Make calls to the other site's extension each other.
  • Use other site's trunk to make and receive calls.
  • Display the correct caller ID number for the calls from the other site's trunk.

 

Trunk Interconnection

Here use 2 Cloud PBX from different regions as example:

  • Site A: sean.bhycm.yeastarcloud.com, extension range: 7XXX, account trunk number: 6701
  • Site B: pixis.frycm.yeastarcloud.com, extension range: 2XXX, account trunk number: 8701

The extension number range and account trunk number should be different.

Create account trunk on site A

On site A, it offers an account trunk for site B to register.

On site B, it registers to the SIP trunk offered by site A.

It will ask you to input DID number. It can be a fake or virtual number. No need to input a real number. It's just to pass the trunk creation procedure.

 

Create account trunk on site B

This account trunk number should be different with site A's account trunk.

It offers an account trunk for site A to register.

 

On site A, it registers to the SIP trunk offered by site B.

It will ask you to input DID number. It can be a fake or virtual number. No need to input a real number. It's just to pass the trunk creation procedure.

 

 

Routing Rules

Make proper routing rules to make and receive calls.

1. Extension Calls

The call flow would be like the following:

Call Flow 1 - Call from Site A extension to Site B extension

Site A extension -> Site A outbound route -> Site B Account trunk -> Site B inbound route -> Site B Extension

Call Flow 2 - Call from Site B extension to Site A extension

Site B extension -> Site B outbound route -> Site A Account trunk -> Site A inbound route -> Site A Extension

 

Call Flow 1 - Call from Site A extension to Site B extension

On Site A

Create an outbound route to make the calls to Site B extensions.

  • Dial Pattern: "2." (note the dot)
  • Selected Trunk: the trunk registered to site B.
  • Extension: choose the extension you allow to make calls.

Put this outbound route on the top priority.

On Site B

Create an inbound route to receive the calls from Site A extensions.

  • Selected Trunk: the account trunk offered to site A.
  • DID Matching Mode: Match DID Pattern to Extensions
  • DID Pattern: {{.Ext}}
  • Destination: Match Selected Extensions, Default_All_Extensions

 

 

Call Flow 2 - Call from Site B extension to Site A extension

On Site B

Create an outbound route to make the calls to Site A extensions.

  • Dial Pattern: "7." (note the dot)
  • Selected Trunk: the trunk registered to Site A.
  • Extension: choose the extension you allow to make calls.

Put this outbound route on the top priority.

On Site A

Create an inbound route to receive the calls from Site B extensions.

  • Selected Trunk: the account trunk offered to site B
  • DID Matching Mode: Match DID Pattern to Extensions
  • DID Pattern: {{.Ext}}
  • Destination: Match Selected Extensions, Default_All_Extensions

2. Use other site's trunk to make and receive calls.

Here we take example for Site A to Site B's trunk to make call and receive calls.

 

The call flow would be like the following:

Call Flow 1 - Use Site B's trunk to make calls on Site A

Site A extension -> Site A outbound route -> Site B Account Account trunk-> Site B inbound route -> Site B outbound route -> Site B's carrier trunk

Call Flow 2 - Use Site B's trunk to receive calls on Site A

Site B's carrier trunk -> Site B inbound route -> Site B outbound route -> Site A Account trunk -> Site A inbound route -> Site A Destination

 

Call Flow 1 - Use Site B's trunk to make calls on Site A

On Site A

1) Create an outbound route to make the calls via Site B's trunk.

  • Dial Pattern: "9." (note the dot)
  • Selected Trunk: the trunk registered to Site B.
  • Extension: choose the extension you allow to make calls.

Put this outbound route on the top priority lower than the one for extension calls.

On Site B

1) Create an outbound route to for Site A users to make call via Site B's trunk.

  • Dial Pattern: "9." (note the dot)
  • Strip: 1
  • Selected Trunk: Site B's trunk(to carrier).
  • Extension: choose the extension you allow to make calls.

Put this outbound route on the top priority lower than the one for extension calls.

 

2) Create an inbound route to forward the call request to Site B's trunk.

  • Selected Trunk: the account trunk offered to Site A.
  • DID Matching Mode: DID Pattern
  • DID Pattern: "9." (note the dot)
  • Destination: Outbound route (created in above step)

Put this outbound route on the top priority lower than the one for extension calls.

Call Flow 2 - Use Site B's trunk to receive calls on Site A

On Site B

1)  Create an outbound route to forward the call from carrier's trunk to site A.

  • Dial Pattern: the real DID number (for example 0978496841 )
  • Selected Trunk:  the trunk registered to Site A 
  • Extension: choose the extension you allow to make calls.

Put this outbound route on the top priority.

 

2) Create an inbound route to forward the call from carrier's trunk to site A.

  • Selected Trunk: the trunk registered to carrier.
  • DID Matching Mode: DID Pattern
  • DID Pattern: the real DID number (for example 0978496841) 
  • Destination: Outbound route (created in above step)

 

On Site A

Create an inbound route to receive the call from carrier's trunk of Site B

  • Selected Trunk: the Account trunk offered to site B.
  • DID Matching Mode: DID Pattern
  • DID Pattern: the real DID number (for example 0978496841)
  • Destination:  choose a proper destination based on your need.

 

 

 

Caller ID Display

To show correct caller ID number for calls from the other PBX and other PBX's carrier trunk.

 

On Site A

Configure the From User Part as Originator Caller ID for the SIP trunk registered to Site B.

 

On Site B

Configure the From User Part as Originator Caller ID for the SIP trunk registered to Site A.

 

 

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.