GithubHelp home page GithubHelp logo

demo-scv-connector's People

Contributors

dlouvton avatar paolo-botta-salesforce avatar rjanamanchi-sfdc avatar rxu-sfdc avatar svc-scm avatar v-goyal-sfdc avatar vivektikoo-force avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-scv-connector's Issues

Can this connector be used to transfer webRTC based calls?

Hi,
I am trying to integrate, sip over websocket with this SCV connector which at the end uses webrtc audio video payloads. I am new to Salefoce ecosystem, hence asking, can this connector be used to recieve the incoming voice call?
Please respond at the earliest, it will be a great help.

Running Vanilla Phone Simulator Throwing Uncaught TypeError (hasQueueWaitTimeCheckbox)

Hey Demo SCV Connector Team,

I am running the latest Demo SCV Connector and I am encountering an issue when it is running.

Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at ./src/remote-control/main.js (main.js:328:26) at __webpack_require__ (bootstrap:19:1) at 1 (remote.bundle.js:12285:18) at __webpack_require__ (bootstrap:19:1) at bootstrap:83:1 at bootstrap:83:1

Digging deeper the problem is in the main.js files specifically at

hasQueueWaitTimeCheckbox.addEventListener('change', setCapabilities);

See screenshot for more information

Add-Event-Listener-Broken-For-Has-Queue-Wait-Time-Checkbox

These are my exact steps to reproduce

  1. Ensure that my machine is running Node 16 as SCV Connector Demo does not work with Node 18
  2. Ensure that I have a SF SCV Org configured correctly, with a Contact Center which has the Adapter URL pointing to localhost (https://localhost:8080)
  3. Clone the Repo for salesforce/demo-scv-connector
  4. Open the Repo in Visual Studio Code
  5. Run the command npm install (Confirm All Installed Correctly)
  6. Run the command npm test (Confirm All Tests Are Passing)
  7. Run the command npm run start (Confirm That Is Successfully Running)
  8. Open Google Chrome and Navigate to https://localhost:8080/remote (Confirm That Phone Simulator Loads)
  9. I open Developer Tools for Google Chrome and notice the Uncaught Type Error
  10. Furthmore I am able to Login to my SCV SF Org and navigate to the App with SCV App, the Phone Simulator then updates to have the appropriate Agent Settings which means my client is talking to the server correctly
  11. However then I am unable to make for instance a Inbound Call action from the Phone Simulator

Could you please confirm that my setup is correct? A couple of fellow coworkers are experiencing the exact same problem.

Also if I try to do some actions I get

main.js:423 Uncaught TypeError: Cannot read properties of null (reading 'checked') at HTMLInputElement.setCapabilities (main.js:423:56)

To confirm my Client is taking to Server okay I see the following

[0] i 「wdm」: Compiled successfully.
[1] TenantInfo configured :
[1] scrtBaseUrl : https://uplandingenius-b-dev-ed.my.salesforce-scrt.com
[1] orgId : 00DB0000000ccwF
[1] callCenterName : IGContactCenter
[1]
[1] User joined: [email protected]

Please this app is crucial to be in a functional and running state so that our developers may properly integrate with SCV Connector, and reference this Demo SCV Connector to confirm what vanilla functionality is currently offered, so we understand if we integrate/programmed correctly

Thanks

Unable to disable hold/unhold functionality for a THIRD_PARTY participant.

When using a HARD_PHONE and adding a participant to an existing conversation we are unable to disable the hold/unhold functionality for the added participant. By documentation we should be able to disable hold by passing holdEnabled: false to the callInfo.

In the addParticipant method in the vendor-sdk in the returned result we pass as described:
new ParticipantResult({
phoneNumber: contact.phoneNumber,
callInfo: new CallInfo({ isOnHold: false, holdEnabled: false }),
initialCallHasEnded:
parentCall.callAttributes &&
parentCall.callAttributes.initialCallHasEnded,
callId: newCall.callId
})

but this is not working. We also tried to publish an event Constants.CALL_TYPE.ADD_PARTICIPANT in the addParticipant method with the ParticipantResult payload and the holdEnabled: false in the callInfo again without luck.

In addition we also tried to set holdEnabled to false in the connectParticipant when the Constants.EVENT_TYPE.PARTICIPANT_CONNECTED event is published again without being able to disable the hold functionality.

Could you give us an isight of how to do that or is it a bug?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.