If you are looking to explore SIP functionality, we recommend following the SIP Quickstart to get you up and running in a few clicks!
Are you interested in learning how to make calls using SIP with Twilio programmability? This guide will show you how to use Programmable Voice to receive SIP inbound phone calls from your SIP infrastructure to Twilio
Twilio Programmable SIP Domain makes it possible to create Enterprise Grade features, contact center feasible functionality in minutes. It's possible to add to programmable logic to your calls to make your business applications more intelligent. Twilio also offers global reach with its rich and reliable PSTN network.
Let's get started!
Note: Step 2.5 and 2.6 are not required if you are not using Twilio Registered Endpoint.
To receive SIP traffic from your network you need to configure SIP Domain in Twilio. In this example, we are going to use Twilio Registered endpoint to send SIP traffic to Twilio. Therefore we are enabling SIP Registration and associating the credential list.
Configure Credential List
Endpoint
, Username (this can be E164 number, Extention number or name) as
UserA
and Password as
yourpassword
and click Create. Note: The credential username and password created here will be used on your SIP Endpoints for authentication.
Configure SIP Domain
T1
and a unique SIP URI as
Trunk1
.
Note: SIP URI names needs to be unique, I have used Trunk1 in my example. You might have to find a name that is available
Endpoint
that you created
SIP Endpoint can be desk phone or soft phone. In this guide, we will use the soft phone and will configure the phone to successfully register to SIP Registrar.
Note: If you are not using Twilio Registered Endpoint then this step is not applicable to you.
Provide login name - UserA@Trunk1.sip.us1.twilio.com
(do add us1 region parameter to your sip domain) and password
Trunk1.sip.us1.twilio.com
(do add
us1
region parameter to your sip domain while configuring zoiper)
_10<?xml version="1.0" encoding="UTF-8"?>_10<Response>_10 <Say>Thank you for doing the tutorial. Will now call your cellphone</Say>_10 <Dial callerId="+1233451789">+15557650987</Dial>_10</Response>
Make sure to add a verified number for callerId and your cellphone number to dial
Create the TwiML Bin and copy the URL, see below