Skip to content

Handle an incoming phone call to a Sinch number using Node.js

Notifications You must be signed in to change notification settings

vcatalin/node-handle-inbound-sinch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handle an incoming call to your Sinch number using Node.js and Express

This project will run an express server, generate an ngrok URL which will be added to your Sinch application's configured callback URL, and handle ICE callbacks from the Sinch Platform @ POST /incoming-call.

Requirements

How to start the server and configure the sinch callback url

Use the make commands bellow and follow the next steps:

  1. Copy your Sinch application key and secret from one of your Sinch apps
  2. Build the docker image
  3. Run a container using the built image
  4. Done! You can now call any of your Sinch numbers that are assigned to the app credentials that you have used above. Your server will now handle ICE callback events generated by the Sinch Platform when dialing your numbers!

Basic usage

Run the following command in your terminal to see all the available commands.

make help

Build and tag the image

make build

Run a container using the built image

make run

Stop the running container

make stop

About

Handle an incoming phone call to a Sinch number using Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published