- A SIP Trunk to connect to the telephony network
- A virtual phone number associated with your trunk
- An application to handle the call logic
Prerequisites
First, create an application that will handle your calls. You can do this using the SDK:create-app.js
Inbound calls
You need a virtual phone number linked to your application to receive inbound calls. The easiest way to get started is with a Twillio number. To link an application to a Twilio number, run the following command and follow the prompts:Outbound calls
You can make outbound calls using either the SDK or the command-line tool.Using the SDK
call.js
Using the command-line tool
First, get your application reference:Call status monitoring
When using the SDK, you can monitor call status through the statusStream:Learn More
For more advanced call control features, check out the Programmable Voice documentation.