How to Connect Yeastar TB to AskoziaPBX

1. Introduction

This guide shows you how to connect Yeastar TB BRI VoIP gateway to AskoziaPBX via SIP trunk. This guide has been tested with:

  • TB400 firmware version 18.18.0.3
  • AskoziaPBX version: 4.0.3.X

Target:

After connecting Yeastar TB BRI VoIP gateway and AskoziaPBX, physical trunk BRI trunk will be extended on AskoziaPBX.

The following features can be achieved:

  • Make outbound calls from AskoziaPBX via the BRI trunks of TB400.
  • Receive calls from BRI trunks of TB400 at AskoziaPBX.

Description:

  • IP address of AskoziaPBX: 192.168.6.112.
  • IP address of TB400: 192.168.6.137.
  • A BRI line from ISDN provider is connected to TB400’s BRI port1.
  • BRI trunk number: 617839972.

 

                                                Figure 1  Connect AskoziaPBX and Yeastar TB400

 

2. Connect AskoziaPBX to Yeasar TB400

2.1 Create a SIP account on Yeastar TB400

Log in Yeastar TB400 Web user interface, and create a SIP account.
Path: Gateway→VoIP Settings→VoIP Trunk

                                                                    Figure 2  SIP account Settings

  • Trunk Type: choose “Account” type.
  • Name: a unique label to help you identify this trunk, i.e. Askozia.
  • Account: define the account number, here we set “8000”.

         Note: the account number must be different from Askozia extensions.

  • Password: set a password for the account number, here we set “yeastar8000”.

 

2.2 Create a SIP Trunk on AskoziaPBX

1) Log in to the AskoziaPBX Management Console and go to “Accounts→Providers” and click to add a SIP trunk.

                                                         Figure 3  Add VoIP Trunk on AskoziaPBX

2) General Settings for the SIP trunk.

                                                              Figure 4  SIP Trunk General Settings

  • Name: a unique label to help you identify this trunk, i.e. Yeastar.
  • Host: fill in Yeastar TB400’s IP address, “192.168.6.137”, the default port is 5060.
  • Username: fill in the account number created on Yeastar TB400, “8000”.
  • Password: fill in the Yeastar TB400’s account password.

3) Call Routing for the SIP trunk.

                                                                 Figure 5  SIP Trunk Call Routing

  • Outgoing Paterns: set the outgoig patterns for outgoing calls, here we define the patterns as “9.”, meaning that Askozia users should dial “9+number” to make outgoing calls.
  • Incoming Extensions: set the destination for incoming calls to AskoziaPBX. Here we set the destination as extension 101.

4) After finishing the configruation, click “Save”, you can check the SIP trunk status. The green icon indicates that the SIP trunk is successfully registered to Yeastar TB400.

                                                                       Figure 6  SIP Trunk Status

 

3. SIP to BRI

In this section, we introduce how to achieve making outbound calls from AskoziaPBX through BRI trunk on TB400.

                                                                                 Figure 7  SIP to BRI

Step 1. Configure “sip_2_bri” route on TB400.

Path: Gateway→Routes Settings→Route List

                                                                       Figure 8  SIP- to- BRI Route

  • Route Name: give a name for the route, “sip_2_bri”.
  • Call Comes in From: choose the VoIP account which is registered to AskoziaPBX.
  • Send Call Through: choose the BRI trunk1.


Step 2. Test a call from AskoziaPBX.

Now, you can use AskoziaPBX phone system’s extension to make external calls through the TB400’s BRI trunk 1. Do not forget to add digit 9 before the called number cause prefix is set to 9 on AskoziaPBX outbound route. For example, if you want to call 5503301, you need to dial 95503301.

 

4. BRI to SIP

In this section, we configure incoming calls to AskoziaPBX through BRI trunk on TB400.


                                                                         Figure 9  BRI to SIP

Step 1. Configure the “bri_2_sip” route on TB400.

Path: Gateway→Routes Settings→Route List

                                                                          Figure 10 BRI-to-SIP Route

  • Route Name: give a name for the route, “bri_2_sip”.
  • Call Comes in From: choose BRI trunk1. 
  • Send Call Through: choose the VoIP account which is connected to AskoziaPBX.

Step 2. Test a call.

Dial the BRI trunk1 number 617839972 on your phone, the call will be routed to AskoziaPBX’s extension 101.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.