Skip to end of metadata
Go to start of metadata

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

a. Click on the 'Registration Mode' and select 'Gateway
b. Insert your FreePBX IP address in 'SIP Server IP/Name'
c. 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

qualify=yes

insecure=port,invite

username=vega

secret=sangoma1

host=dynamic

dtmfmode=rfc2833

disallow=all

allow=ulaw

trustrpid=yes

sendrpid=yes




6. Configure  'Incoming'  User details


a. Configure the USER Context 

     -> host=10.4.0.141   (The IP address of the Vega)       

     -> username=vega   (The Username ID used when configuring the Vega Gateway)
     -> secret=sangoma1   (The SIP Secret used when configuring the Vega

b. Configure the USER Details

example:

type=peer

qualify=yes

trustrpid=yes

sendrpid=yes

insecure=port,invite

username=vega

secret=sangoma1

host=10.4.0.141

dtmfmode=rfc2833

disallow=all

allow=ulaw

context=from-trunk


*** Do not fill in any details in the registration string that follows USER Details

 

7. 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







  • No labels