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
Reliable way to get "to" and "from" for a warm transferred call.
Tags: rest api, phone
Jul 30, 2019 at 6:52am   •   2 replies  •  0 likes
Adithya PK

When the original caller is transferred from one extension to another extension(or to any other number), I couldn't find a reliable way to identify, from whom to whom the call was transferred.

From the call log API(/restapi/v1.0/account/~/call-log?&view=Detailed) , Only info related to call transfer is in call leg as given below:

{
      "action": "Transfer",
      "direction": "Outbound",
      "duration": 21,
      "extension": {
        "id": 249697004,
        "uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/249331004/extension/249697004"
      },
      "from": {
        "extensionId": "249697004",
        "name": "Nanda Kumar"
      },
      "legType": "TransferCall",
      "result": "Call connected",
      "startTime": "2019-07-18T08:46:36.185Z",
      "to": {
        "location": "Los Angeles , CA"
      },
      "transport": "PSTN",
      "type": "Voice"
}


Which does not have the proper `to` and `from` values.

1 Answer
answered on Jul 30, 2019 at 12:05pm  

Is the transferred number under the same account? Does the extension have a direct number or just an extension number?

I run some test on the production environment and I got the "from" and "to" correctly. Are you able to test on the your production account?


 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