NSRPureCld | 2018-07-10 14:27:02 UTC | #1
I am making a cal from developer tools. I do have Pure Cloud Desk Top and am signed in.
I wanted to check how I could make an outbound call via developer tools API using java script. The body I am using in developer tools is given below: (/api/v2/conversations/calls) Pure Cloud Number assigned to me is 9083088701. 2017435747 is the number I am trying to call and it does ring at this number. It does not ring on the Pure Cloud Desktop ! And I get: "error.ininedgecontrol.connection.station.notReached" .
What am I doing wrong ?
{ "phoneNumber": "", "callerId": "9083088701", "callerIdName": "", "callFromQueueId": "", "callQueueId": "", "callUserId": "", "priority": 0, "languageId": "", "routingSkillsIds": [], "conversationIds": [], "participants": [ { "address": "2017435747", "name": "", "userId": "", "queueId": "" } ] }
Jason_Mathison | 2018-07-10 15:52:49 UTC | #2
One approach we often take is to run the web browser version of PureCloud in developer mode and see how the UI uses the API.
For example, making an outbound call from the UI calls the API with just this in the body: {phoneNumber: "555-123-1212"}
tim.smith | 2018-08-01 18:20:37 UTC | #3
- If you're placing the call from dev tools, you'll need to be sure that you've logged in to a station either via API calls or that you've opened the standard PureCloud application and set your station there.
- You cannot
~place~ answer calls via the API if you're using a WebRTC station. This is a known limitation and is being tracked as PURE-2265.
NSRPureCld | 2018-08-01 17:27:52 UTC | #4
Regarding....
You cannot place calls via the API if you're using a WebRTC station. This is a known limitation and is being tracked as PURE-2265.
According to the following document:
WebRTC Softphone SDK: https://developer.mypurecloud.com/api/webrtcsdk/
It looks like WebRTC SDK allows "click to dial" for authenticated users but not for unauthenticated users.
If this is true, pllease provide an Java Script Example to use this WebRTC Softphone SDK to place a call. This will be very helpful for us.
tim.smith | 2018-08-01 18:19:12 UTC | #5
step 5 https://help.mypurecloud.com/articles/select-purecloud-webrtc-phone-as-your-phone/
Mark_Mathis | 2018-08-01 19:51:55 UTC | #6
Does this mean that the user has to set this for each session when they log in? This is not something that can be set up by an administrator?
tim.smith | 2018-08-01 19:54:15 UTC | #7
Does this mean that the user has to set this for each session when they log in? This is not something that can be set up by an administrator?
Correct.
Mark_Mathis | 2018-08-07 13:30:33 UTC | #8
Tim, Can you explain the reason Genesys went with this methodology where the user needs to do this for each new session instead of set and forget. The customer is trying to implement click to dial and this is going to cause a maintenance nightmare where user is going to forget to set it and call in with support issue.
tim.smith | 2018-08-07 13:34:48 UTC | #9
You may submit the suggestion that this be handled differently on the ideas site: https://purecloud.ideas.aha.io/ideas
system | 2018-09-07 13:34:50 UTC | #10
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3150