Create an inbound connection so calls that arrive on your number reach an agent.
An inbound connection routes calls that arrive on a number you own to one agent.
For how connections work and where they live, see
Connect a phone number.
In the dashboard sidebar, open Telephony, switch to the Inbound tab,
and click Add connection.
The Inbound tab of the Telephony section. Add connection starts the inbound setup.
2
Choose a setup mode
Choose Twilio to generate a webhook URL. Choose Manual to generate
SIP forwarding targets and optionally restrict source addresses.
3
Name the connection and add your numbers
Give the connection a name you will recognize in the agent picker, such as
wayne-enterprises-support. Add the phone numbers that should reach the
agent, one per line or comma-separated, each in E.164 format.In Manual mode you can also set Allowed addresses to restrict which
source addresses may send calls to this connection. Leave it empty to accept
calls from any address your carrier uses.
4
Create the connection and wait for it to become active
Click Create connection. The connection starts as pending while
provisioning finishes, then becomes active. If it ends in error, open
the connection to see the reason. You cannot attach it until it is active.
Your carrier must route incoming calls to the connection. A Twilio number sends
an HTTP request to the generated webhook URL. Another carrier forwards calls to
the generated SIP target.
Twilio
Any SIP carrier
Open the connection’s View setup and copy the webhook URL. In the Twilio
console, open the number’s Voice configuration. Under A call comes
in, choose Webhook, paste the URL, and select HTTP POST.
A Twilio inbound connection shows one webhook URL to paste into the number's voice settings.
In the Twilio console, set the number's voice webhook to the SLNG URL, with HTTP POST.
The URL carries a token that identifies the connection, so treat it like a
credential and do not publish it. If the connection shows no webhook URL
yet, it has not finished provisioning.
Open the connection’s View setup and copy the Forwarding targets.
Configure your SIP provider to forward each number to the target listed next
to it.
A manual inbound connection lists a forwarding target for each number you added.
If you set Allowed addresses, they appear here too. Calls from any other
source address are rejected.
An inbound connection belongs to one agent at a time, because a call arriving on
the number has to reach a single destination.
Dashboard
API
Open the project, go to its Telephony section, and pick the connection
under Inbound calls. Connections you cannot pick are disabled and marked
(Unavailable) with the reason.
The project's Telephony section, with the inbound connection picker open.
A successful response returns the updated agent with
sip_inbound_trunk_id set to the connection ID. Sending null detaches the
connection and leaves it free for another agent.
Call one of the connection’s numbers from another phone. The agent should answer
and use inbound_greeting when you have set one. If the call does not reach the
agent, confirm that the connection is active, attached to the agent, and using
the carrier settings shown under View setup.
With a connection attached, the agent can use inbound_greeting instead of its
default greeting, so a caller who dials in hears something different from
someone the agent called. Directional greetings need at least one connection
attached, inbound or outbound, and the agent fails to save without one. See
Create an agent
for the update mechanic.
Manual connections authenticate with a SIP username and password, shown under
View setup. To change them, open Edit and update both values together.
Configure your carrier to use the same pair. Coordinate the change because calls
can fail while the two sides use different credentials.Twilio inbound connections do not use a SIP username and password. The webhook
URL contains the connection token, and the dashboard cannot rotate that token in
place. If the URL is exposed, contact SLNG support to replace the connection.
Replacing it may briefly interrupt inbound calls.