Vega Gateways - Registering Vega with FreePBX (CHAN_SIP on port 5060)
Table of Contents
Vega Configuration
The following steps illustrate how to register your Vega product with FreePBX. This guide applies to all Vega products
Log into your Vega webGUI
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!!)
Configure VoIP Registration details
Click on the 'Registration Mode' and select 'Gateway'
Insert your FreePBX IP address in 'SIP Server IP/Name'
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:
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
Log into the FreePBX webGUI
Click on Trunks, located under Connectivity
Click on 'Add SIP (chan_sip) Trunk', to add a new trunk
Define Trunk Name. In our example, we called it 'vega60_fxo'
Configure SIP Settings 'Outgoing' Peer details
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.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
Configure 'Incoming' User details
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
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
Return to Documentation Home | Sangoma Support