Trunk 1
Trunk Name: DivertMy_1Incoming Settings
USER Context: [46.19.210.14]
USER Details:
host=46.19.210.14
dtmfmode=rfc2833
type=peer
context=from-DivertMy
insecure=very
nat=never
allow=all
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.
Incoming Settings
USER Context: [46.19.210.14]
USER Details:
host=46.19.210.14
dtmfmode=rfc2833
type=peer
context=from-DivertMy
insecure=very
nat=never
allow=all
Incoming Settings
USER Context: [46.19.209.14]
USER Details:
host=46.19.209.14
dtmfmode=rfc2833
type=peer
context=from-DivertMy
insecure=very
nat=never
allow=all
Please, make sure you have defined extensions within a context [from-DivertMy] 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.