DID Number provider for Asterisk
If you are forwarding The Number purchased from us to Your Asterisk Server. Kindly Choose Forwarding Destination of number to "Your own SIP 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 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 [carrymy-1] host=22.214.171.124 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-carrymy insecure=very nat=never allow=all
[carrymy-2] host=126.96.36.199 dtmfmode=rfc2833 dtmf=rfc2833 type=peer context=from-carrymy insecure=very nat=never allow=all