If you are forwarding The Number purchased from us to Your Asterisk Server on static IP. Kindly Choose Forwarding Destination of number to "Your Own SIP Server" , Select "SIP" (you can also choose to forward Via IAX, if you need forwarding via IAX). In "Host" enter IP Address of your Asterisk Server. In Details Enter Extension number to which DID should be forwarded to.
Here is how your SIP config file(s) should look. *We also have an IAX Sample Configuration .You should forward your virtualnumberhubNumber using the "Your Own SIP Server" option and use your Asterisk IP in the "Host". In this example we use the number 2125551111 which goes to the internal SIP extension 100.
You will need to create 2 trunks, one for each ip. You can leave registration string empty.
sip.conf [virtualnumber-1] host=46.19.209.14 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-virtualnumber insecure=very nat=never allow=all
[virtualnumber-2] host=46.19.210.14 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-virtualnumber insecure=very nat=never allow=all