/
Vega Gateways - Vega FXS Registering to 2 SIP -Proxy server

Vega Gateways - Vega FXS Registering to 2 SIP -Proxy server

This document describes on Vega FXS ports registering to 2 Proxy / FreePBX server and sending calls on round robin basis example 1st call to 1st Proxy , 2nd call to 2nd proxy 3rd call to 1st proxy , 4th call to 2nd proxy

 

We now take you on brief configuration on achieving the above call flow scenario

  1. QUICK CONFIG

Once the Vega is network , access the Vega and click on the Quick Config as shown below

 

The Quick Config option will provide you the below option parameter for you to configure as per your network requirement

  1. Basic Config

  2. VoIP

  3. FXS

Now we first look in to the Basic Config Tab

  1. Basic Config

  • In this you can Configure the IP Address as per your network, by setting to DHCP or STATIC

  • Select the Country Variant, as per your location the below example has been set to IN which is INDIA,

  • You can change the password of the admin

 

Now we move on the 2nd Option

  1. VoIP

In this SIP related information are configured as below

This scenario we set the Registration Mode to FXS port as shown below

  • Registration Mode – FXS port

  • Outbound Proxy - NO

  • SIP Local port – 5060

  • SIP Domain – Provide the IP address of your Proxy server 1

  • Transport – UDP

  • SIP Server IP/Name - Provide the IP address of your Proxy server 1

 

On the 3rd Final tab we configure the FXS ports as per the requirement

  1. FXS

Configure the FXS end points and provide them the username and password that will be used in doing the registration with the Proxy / FreePBX server 1 and Proxy / FreePBX Sever 2

NOTE:- ON BOTH PROXY SERVER THE USERNAME AND PASSWORD SHOULD BE SAME SO THAT VEGA FXS PORT’S CAN REGISTER TO BOTH THE PROXY SERVER USING SINGLE USERNAME AND PASSWORD FOR PER FXS PORT AS SHOWN IN THE ABOVE SNAPSHOT

Once the Quick Config is completed Click on the Submit Button, as shown on below snapshot to ensure that all the basic configuration is saved and applied

EXPERT CONFIG

In this section we will be doing the below configuration to make the things work as expected where in the registration work on both Proxy / FreePBX server 1 and Proxy / FreePBX Sever 2

  1. SIP Profile Configuration

  2. Registration Configuration

  3. Authentication Configuration

Click on the Expert Config as shown below

  1. SIP Profile Configuration

Click on the Option “SIP” as shown below

Once you click on the SIP it will open new tab on the right side as shown below and click on the Modify

 

Once you click on the Modify button you need to configure the below

  1. Local Domain – This will your Proxy / FreePBX server 1 IP address

  2. Alternative Local Domain – this will be your Proxy / FreePBX server- 2 IP address

Click on the Submit Button once you made change on the profile

Next we do the following changes

  1. Proxy Mode – Cyclic

  2. Adding the 2nd Proxy / FreePBX server- 2 IP address as shown below apart from the Proxy / FreePBX server- 1 IP address

 

If you look in the below example

SIP Proxy 1 – has the IP address of the Proxy / FreePBX server- 1 IP address

SIP Proxy 2 – has the IP address of the Proxy / FreePBX server- 2 IP address

 

Click on the Submit Button once you made change on the Proxy profile

 

Now on the Register Profile we add the both the Proxy / FreePBX server 1 IP address and the Proxy / FreePBX server- 2 IP address as shown below

Click on the Submit Button once you made change on the profile Registration

Till now we configured the Gateway to register with one of the Proxy / FreePBX

Now we will proceed in doing the other SIP Proxy / FreePBX setting configuration for the Vega

NOTE: Make sure you are keeping the Interface ID (9901) Same for the Profile 2 also

Now we create an another Profile and we keep the Interface ID as same as of Profile

Click on the Add button it will create One more profile with interface ID as 9901 , then you click on the Modify as shown below

Once you click on the Modify we add the below details on the SIP Profile -2 which also hold the same name as Profile 1

  1. Local Domain – This will your Proxy / FreePBX server 2 IP address

  2. Alternative Local Domain – this will be your Proxy / FreePBX server- 1 IP address

As shown on below diagram

Click on the Submit Button once you made change on the profile Configuration

Now we add the Proxy / FreePBX server 2 IP address in the Proxy Parameter

Click on the Modify and add the IP address of the Proxy / FreePBX server 2 IP address and enable the same as shown below

Click on the Submit Button once you made change on the Proxy profile

Now we add the Proxy / FreePBX server 2 IP address in the Register Parameter

Click on the Modify and add the IP address of the Proxy / FreePBX server 2 IP address and enable the same as shown below

Click on the Submit Button once you made change on the Proxy profile

Click on the Submit Button once you made change on the profile Registration

We now successfully configured both the Proxy / FreePBX server IP address, now we move on to the Registration part of the FXS towards the Proxy / FreePBX server 2 IP address

We now again click on the SIP

Then click on the SIP registration user as shown below

Once you click on the SIP registration user you will be able to view the already created users from the Quick Config and these users are now currently pointing towards the Proxy / FreePBX server -1 IP address

Now we will add the same user details but will append the users to the Profile-2

Click on Add and then click Modify as shown below

 

Now select the Profile as 2 and enter the user details same as endpoints

Here in this example my FXS line 2 holds the user name as 102 and it was pointing towards Profile 1 , so we add the user again 102 but this time we attach that FXS line 2 user to Profile 2 as shown below

The same way you need to add the other FXS users and append those FXS endpoint users to the Profile 2

Once you created all the users and SUBMIT the configuration, click again on the SIP ,and click on the SIP Authentication menu as shown below

 

Once you click on that you will be able view the existing users details as shown below

Now we will clock on the Add button to add uses password authentication and append that to Profile-2

Once you click on the Add then you will be viewing the below

Then click on the Modify button and add the details in my example I m using an extension 102 which is my FXS line 2 which resides in the IF0102 , so my configurator will be as shown below

Provide the username, password same as the first proxy server details as both has to match, then set the Profile ID as 2 as shown on above snapshot

Once added then click on the SUBMIT button

Accordingly you need to add your reset of user and the authentication password and attach them to the exact Subscriber which is in the Ext. interface ID

Now we have done all the configuration for the FXS to get register to 2 Proxy / FreePBX sever

Whenever you made any configurator change then the Apply and Save button will pop up and it will show in RED which means the configuration are yet to applied and not saved

Once the Apply and save has been made you can check the phones are registered on both the server , you can check the same by navigating to the STATUS menu and click on the “show sip registration ”

Once you click on the show button you can see the endpoint in my example 101 and 102 is registered on both the servers simultaneously

101 and 102 REGISRTERED ON 1ST PROXY / FREEPBX SEVER

 

 

101 and 102 REGISRTERED ON 2nd PROXY / FREEPBX SEVER

 

Now when you make the call you can see from the console logs the 1st call will go the 1st server and the 2nd call will go the 2nd server,

Related content

Return to Documentation Home I Return to Sangoma Support