Where do I configure SIP trunks and what data do I need to enter?

Where do I configure SIP trunks and what data do I need to enter?

πŸ”Ή Start with project setup

To work with SIP trunks in BAS-IP Link, make sure the basics are in place:


πŸ”Ή Get ready before adding a trunk

Before configuring SIP trunks in Link, make sure everything is set up on the provider side β€” Twilio.

Β 

You’ll need to collect 4 key values:

  • Termination URI β€” from your Elastic SIP Trunk;

  • Outgoing number β€” the phone number you purchased;

  • Login β€” your SIP credential username;

  • Password β€” your SIP credential password.

Β 

To get these values, complete the following steps in Twilio:

  • buy a phone number with voice support according to Twilio pricing;

  • create an Elastic SIP Trunk;

  • add the required IP addresses β€” your server’s external IP, and internal IP if behind NAT;

  • create login and password credentials;

  • attach the phone number to the trunk.

Make sure to enter your actual public IP address in Twilio’s ACL settings to route SIP traffic correctly.


πŸ”Ή Finish setup in Link

Once the values are ready, go to Telephony settings β†’ SIP Trunks tab in the admin interface and click the βž• icon.

Fill in the following fields:

  • Name β€” a label for internal reference (e.g. Twilio – Main Entrance);

  • Termination URI β€” copied from your SIP provider;

  • Outgoing number β€” the number assigned to the trunk;

  • Login / Password β€” your Twilio SIP credentials;

  • Groups β€” select the group(s) that will use this trunk.

One trunk per group. If no trunk is defined in a subgroup, the system uses the one from the nearest parent group.

Once the SIP trunk is saved, go to the apartment group and assign a mobile number in the forwarding rule.


πŸ‘‰ Read more in the SIP trunk configuration guide.