/
Vega Gateways - Registering Vega with FreePBX (CHAN_SIP on port 5160)

Vega Gateways - Registering Vega with FreePBX (CHAN_SIP on port 5160)

Vega Configuration

The following steps illustrate how to register your Vega product with FreePBX. This guide applies to all Vega products

 

1. Log into your Vega webGUI

2. Log into the Quick Config 
**Any modifications performed in Quick Config will overwrite ALL configuration on the Vega (so if you have made any adjustments in Expert Config, they will be erased!!)

3. Configure VoIP Registration details as follows

  • a. Click on the 'Registration Mode' and select 'Gateway' 

  • b. Insert your FreePBX IP address in 'SIP Server IP/Name'

  • c. Enter the Chan_SIP port (5160)

  • d. Under 'Registration and Authentication ID' and 'Authentication Password' insert the registration credentials that you have assigned (or will assign) for the Vega inside FreePBX.  Remember these credentials as they will be used for FreePBX configuration.

In our example we want to use 'Vega' and 'sangoma1' for the password, as follows:

4. Finish configuring your Vega by clicking on the last tab. 


In our example we are using a Vega 60 so its FXO, digital Vega’s will have T1/E1 tab

 

The Vega will ask you to apply and save your changes.

FreePBX Configuration

1. Log into the FreePBX webGUI

2.Click on Trunks, located under Connectivity

3. Click on 'Add SIP (chan_sip) Trunk', to add a new trunk

4. Define Trunk Name. In our example, we called it 'vega60_fxo'

5. Configure SIP Settings 'Outgoing' Peer details

a. Configure the Trunk Name 
     -> This should be a Generic Name, In the example below we used 'vega' and it should match the Register User in the Vega.

b. Configure the PEER Details 

  •      host=dynamic       (The Vega will provide its IP in the Registration)       

  •      username=vega    (The Authentication ID used when configuring the Vega Gateway)

  •     secret=sangoma1   (The Authentication password used when configuring the Vega Gateway)

  •      <insert the rest of typical details, as seen in picture below> 

 

example:

type=peer

insecure=port,invite

username=vega

secret=sangoma1

host=dynamic

dtmfmode=rfc2833

disallow=all

allow=ulaw&alaw&g729

trustrpid=yes

sendrpid=yes

qualify=yes

context=from-trunk

 

 

6. The last step is to Apply Configuration.

To verify registration Open the 'Status' Page of the Vega Gateway webgui and look at SIP Registrations

Intrusion detection (Recommendation)

In order to have the Vega register to FreePBX we recommend adding the Vega's IP Address (or add the entire subnet where the Vega is installed) to the Intrusion Detection module whitelist.

 

  • To do this navigate to Admin -> System Admin -> Intrusion Detection

  • Add the Vega's IP or Subnet in the Whitelist field

  • Submit changes

  • Restart the Intrusion Detection service

 

 

 

 

 

 

Related content

Return to Documentation Home I Return to Sangoma Support