IPBX Call Forwarding
If you are forwarding The Number purchased from us to Your Asterisk Server. Kindly Choose Forwarding Destination of number to "Your own VOIP Server" , Select "SIP" (you can also choose to forward 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 number using the "Your own VOIP 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 [buyvirt-1] host=220.127.116.11 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-buyvirt insecure=very nat=never allow=all
[buyvirt-2] host=18.104.22.168 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-buyvirt insecure=very nat=never allow=all