yarn install
Engage Voice SDK will be public very soon.
For now, you need to copy its souce code to ./agent-library/
.
In the future, you should be able to install it via NPM. By then you should remove direct dependent of "sip.js".
For some unknown reason, the AgentLibrary package doesn't work with this project's setup.
The workaround is to edit the ./agent-library/dist/agentLibrary.js
, and replace the last paragraph with:
module.exports = initAgentLibrary(this);
Copy .env.sample
to .env
.
Edit .env
and specify credentials.
yarn dev
Check http://localhost:8080/.
yarn release
The output files will be generated in ./docs
folder and be hosted by GitHub Pages: https://chuntaoliu.com/ringcentral-engage-voice-demo/.
- Engage Voice AgentLibrary SDK's WebRTC feature is broken at the moment. You cannot use integrated phones.