SIP trunks
SIP trunking allows Link devices to make and forward calls to external mobile numbers via Twilio. You can assign multiple trunks to different groups within your project and define routing behavior per group.
Let’s go step by step — from setting up your project structure to configuring outbound call routing:
❶ Define the project structure
Register in Link Cloud as an installer or dealer (by invite or self-registration).
Navigate to User management → Object groups.
Create the hierarchy:
Root group = Building;
Subgroups = Units, Floors, Apartments.
❷ Request and activate the Plus license
Request the Plus license through your partner channel — either via your dealer, distributor, or directly from BAS-IP Sales.
Check that the SIP Trunks tab becomes visible under Telephony settings once the license is activated.
From now on, mobile numbers are now available as a forwarding option.
❸ Register a Twilio account
Go to Twilio.
Register using 2FA/two-factor authentication — it keeps your account safe and lets you use real phone numbers for calling.
Verify your mobile number.
Top up your balance with the minimum $20 USD — this upgrades the account from trial to production mode and allows calling.
❹ Buy a phone number
Go to Phone Numbers → Buy a number.
Choose a local number with Voice capability.
Price is usually around $1.15/month.
This number will be used as Caller ID for outbound calls.
❺ Create an Elastic SIP Trunk in Twilio
Use the Jump to… search in the top-right corner and enter Elastic SIP Trunks. Select it from the dropdown.
Click Create new SIP Trunk button, name the trunk, and click Create.
In the opened General tab, check the Friendly Name field and click Save at the bottom of the page.
Go to the Termination tab and create any unique hostname in the Termination SIP URI field: example.pstn.twilio.com.
Under Authentication click the ➕ button next to IP Access Control List.
Add a friendly name, e.g.: Proxy.
In the CIDR Network Address field, enter the IP address with /24 mask:
Europe | USA | Asia |
---|---|---|
Proxy: | Proxy: | Proxy: |
Click Create ACL.
Repeat steps 5–8 for both IPs — add the Node address with a /24 mask:
Europe | USA | Asia |
---|---|---|
Node: | Node: | Node: |
Click the ➕ button next to Credential Lists.
Create a username and secure password — this will be used later in Link.
Once created, credentials cannot be viewed again, so make sure to write them down.
Click Save at the bottom of the page.
Go to the Numbers tab, click Add a number → Add an Existing Number and attach the phone number you previously purchased.
After this, you now have: Termination URI, Login, Password, Assigned phone number. All ready to be copied into Link Cloud, — let’s go!
❻ Add the SIP Trunk in Link Cloud
Go to Telephony settings → SIP Trunks.
Click ➕ in the lower-right corner to add a new trunk.
Enter a display Name — this is just a label to help you identify the trunk.
Paste the hostname you created in Twilio in Termination URI, e.g.: example.pstn.twilio.com.
Paste the phone number you attached to the trunk into Outgoing number.
Paste your Twilio credentials into Login and Password.
Assign the trunk to the relevant groups, e.g.: Building #1, Unit #1.
Only one trunk can be assigned per group. If a group already has another trunk, it will be replaced. The system uses the trunk assigned to the closest group in the hierarchy for outbound calls.
Click 💾 Save icon in the lower-right corner.
Don’t forget to check your Twilio balance — calls won’t go through if there are insufficient funds.
❼ Add a phone number in the group forwarding rule
Go to User management → Object groups, then open the required apartment group where the call needs to be routed.
Click the ••• next to the group and select Edit.
In the Forwarding rule tab, choose: either a mobile number, or a virtual number.
If using a mobile number: enter it in international format, and make sure to check ✓ next to the entered number. Otherwise, the number won’t be added to the forwarding rule.
Click 💾 Save icon in the lower-right corner.
✽ App vs Mobile Number
Do not forward calls simultaneously to both the mobile number and the app.
Why?
When a call is initiated, the SIP server calls all routes simultaneously — the app and the mobile number at the same time.
The device shows whichever call request arrives first.
If the app notification (push + SIP registration) reaches the phone first, the app will show the incoming call screen.
If the mobile network call arrives first, the mobile call screen will appear.
Mobile calls often involve complex routing via external transit operators, which can cause unpredictable delays. Because of this, the app call is usually faster and will most likely pop up first.
If voicemail answers the mobile call before the user picks up via the app, the panel will treat the call as successfully answered — breaking the forwarding flow.
Best practice: choose either app or mobile, not both at once.
Everything’s ready to go — make a quick test call and see how smoothly your SIP Trunk works.