If you purchase numbers in Twilio independently, you need to perform a series of simple manipulations to connect the numbers to the Ringostat service.
1. Log into your Twilio account.
Go to https://www.twilio.com/. Register or log into your account. In the "Account dashboard" section, select the region for which the number was purchased:
2. Create an Elastic SIP Trunk
In the Twilio Console, open the "Elastic SIP Trunks" section. Click "Manage" and select the "Trunks" section. Then click "Create new SIP Trunk"
Enter a unique name for your trunk (for example: Ringostat) and click "Create".
3. Configure Origination
Go to the "Origination" tab and click "Add new Origination"
And add the address sip.ringostat.com in the following format:
sip:sip.ringostat.com
4. Bind the phone number
In the "Numbers" tab, click "Add a Number" (Choose "Add an Existing Number" or "Buy a Number" if you haven't purchased the number yet).
Select the number that suits you (by country, city, or type).
After adding, the number will be automatically bound to the trunk.
Your SIP trunk is configured in Twilio and ready to work.
5. Add the number to Ringostat
Since the configuration in Twilio is complete, you now need to go to the personal cabinet "Settings" → "Virtual PBX" → "Number Connection".
Login and number in international format correspond to each other
Gateway: "No registration"
Forwarding scheme: one of the schemes you created is applied
Password: the field can be left empty
In this form, it will not be possible to make calls through the corresponding number in Ringostat — only the function of receiving calls will be available. To solve this problem, you need to change the number connection type to "With registration" method and configure the corresponding SIP gateway. After this, you need to configure outbound communication according to this instruction.
After these actions, you need to wait at least 5 minutes and then you can test the number's operation.
The configuration is now complete.