question

Adithya PK avatar image
Adithya PK asked ·

Reliable way to get "to" and "from" for a warm transferred call.

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.

apicall trasferwarm transfer
1 comment
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

I have the same issue, and would love a fix or best way. In my situation the end user has an extension and a direct number. In some cases, I am guessing on the warm transfer we get the receptionist, but not the end user. So we cannot total up the sales person calls and duration properly. Wanted to use legs, but how do we go about getting the correct leg? So non intuitive, please help!

0 Likes 0 · ·

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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?

1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

I have the same issue, and would love a fix or best way. In my situation the end user has an extension and a direct number. In some cases, I am guessing on the warm transfer we get the receptionist, but not the end user. So we cannot total up the sales person calls and duration properly. Wanted to use legs, but how do we go about getting the correct leg? So non intuitive, please help!

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.