News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Ring-out as another extension from a service user
Tags: ringout
Jun 24, 2019 at 1:32pm   •   1 replies  •  0 likes
rhaylander-almeida7811

Hi,

I have an App used to authenticate through OAuth with a service user as the goal is to have customers authenticating just once. I'm working with the Ring-Out API to initiate calls on behalf of users from our application, and it works as far as the correct "from" phone number is provided to a given extension, however, it seems wrong in "Call Log" as the calls originating extension is actually the one from the service user.

A detailed explanation of the use case:

  • A single user from a RingCentral account is used as a service user to authenticate via OAuth and grant access to the RingCentral's APIs;
  • Ring-Out calls are originated from a third-party application through the authenticated user. Let's say "User A" is the one connected, and a call should be initiated to "User B".

Expectation:

It'd be expected to have the call logged against the extension of "User B", not "User A"

Current behavior:

The call is getting logged against the extension of "User A"

A screenshot from "Call Log":


I'm using RingCentral's JS SDK to interact with the API, see below a piece of the code:

platform.post(`/restapi/v1.0/account/~/extension/~/ring-out`, ringOutOpts)

I've tried to use the "extensionId" of "User B" a part of the URL but when I do so I get the following error:

Resource for parameter [extensionId] is not found

Is it possible to achieve what I'm trying here? If so, what am I doing wrong?

1 Answer
answered on Jun 24, 2019 at 3:46pm  

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us