Online Numbers configuration for FreePBX
FreePBX Configuration page to configure BuyOnlineNumber purchased at BuyOnlineNumber
Go to FreePBX administration page, click on the Trunks menu and add SIP trunks with the following settings:
You will need to create 2 trunks, one for each ip. You can leave registration string empty.
Trunk 1
Trunk Name: BuyOnline_1Incoming Settings
USER Context: [46.19.210.14]
USER Details:
host=46.19.210.14
dtmfmode=rfc2833
type=peer
context=from-BuyOnline
insecure=very
nat=never
allow=all
Trunk 2
Trunk Name: BuyOnline_2Incoming Settings
USER Context: [46.19.209.14]
USER Details:
host=46.19.209.14
dtmfmode=rfc2833
type=peer
context=from-BuyOnline
insecure=very
nat=never
allow=all
Please, make sure you have defined extensions within a context [from-BuyOnline] in extensions.conf, otherwise you need to add context="your context" in sip.conf under the created trunk above.
Now click on Inbound Routes and add your DID number (full number, including the country code) and map it to your desired extension or IVR.