Newer Version Available
Use the Demo Connector
The demo connector is a sample application for partner telephony systems that integrate
with Service Cloud Voice. It demonstrates an optimal Voice implementation based on a group of
telephony API mocks. It also includes a voice call simulation tool that you can use to test call
actions such as making and answering calls and using phone controls.
Start the demo connector
The byo-demo-connector is provided as part of the Demo
Connector in GitHub.
- Clone the git repo, and install the NPM
dependencies.
1$ git clone git@github.com:salesforce-misc/byo-demo-connector.git 2$ cd byo-demo-connector 3$ npm install - Add a private key generated from Generate a Self-Signed Certificate with OpenSSL.
1{byo-demo-connector} 2 |__src 3 |__server 4 |__private.key - Launch the tool.
1$ npm start
By default, the web server runs in SSL on port 8080. The adapterUrl in your contact center points to this web server (for example, https://www.myTelephonyDemo.com:8080).
The previous command also starts the SCV REST APIs connector on default port 3030. It’s used for creating voice calls, transcription, and recording.
You can run them on separate terminals using the
following commands.
1$ npm run client
2$ npm run serverVerify That the Connector is Loaded
Test that the connector is working.
- The byo-demo-connector app uses a self-signed
certificate, so you must get your web browser to accept a self-signed certificate.
- Open the byo-demo-connector app URL (for example, https://serverURL:8080/remote.html) in a separate tab.
- Click through any warnings for untrusted certificates.
- Log in to Salesforce as one of the users that were added to the contact center.
- Log in to the Omni-Channel utility and change the rep status to Available.
Open the Browser Debugger and make sure that you see messages from the
connector. The messages start with [sdk] or [connector].