Created
August 17, 2022 16:12
-
-
Save virgilvox/f9be0958f00a018c207a10b5772f80bd to your computer and use it in GitHub Desktop.
This file contains 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
require('dotenv').config(); | |
let { Voice } = require('@signalwire/realtime-api') | |
const projectId = process.env.SIGNALWIRE_PROJECT_ID | |
const token = process.env.SIGNALWIRE_TOKEN | |
const verifiedNumber = process.env.VERIFIED_NUMBER | |
const client = new Voice.Client({ | |
project: projectId, | |
token: token, | |
contexts: ["ivr"], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment