Skip to main content
Fonoster provides capabilities for handling both inbound and outbound calls. Before making or receiving calls, you’ll need three key components:
  1. A SIP Trunk to connect to the telephony network
  2. A virtual phone number associated with your trunk
  3. An application to handle the call logic
Please see the Linking a Twilio number guide for a quick start.

Prerequisites

First, create an application that will handle your calls. You can do this using the SDK:
create-app.js
Or using the command-line tool:

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:
You are now ready to begin accepting inbound calls.

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:
Then make the call:

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.