Created
July 3, 2021 13:31
-
-
Save psanders/afd9cd87585c191ca29720af15d0eccf to your computer and use it in GitHub Desktop.
Using the SDK to start a call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Fonos = require("@fonos/sdk"); | |
const callManager = new Fonos.CallManager(); | |
callManager.call({ | |
from: "9842753574", | |
to: "17853178070", | |
webhook: "https://5a2d2ea5d84d.ngrok.io" | |
}) | |
.then(console.log) | |
.catch(console.error); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment