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
Warm transfer and Conference calls - detect them and get all the related call recordings.
Tags: webhooks, rest api
Nov 14, 2021 at 4:05am   •   2 replies  •  0 likes
Nanda Mangati

We subscribe to webhooks for each extension and log all incoming/outgoing calls along with the call recording.

In case of warm transfer/conference calls, each call is treated as a separate call as the session ids are different, but logically from the customer perspective, it is just one call. Based on the webhook data and also from the call log API, I could not find a reliable way to link these calls.

We are currently subscribed to the below webhook event:

/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true

and using the below API endpoint to fetch call log

/restapi/v1.0/account/~/call-log?sessionId={1}&view=Detailed

Please let us know if there is a way to acheive this.

on Nov 14, 2021 at 4:08am   •  0 likes

@Phong Vu I have seen you mentioning telephony session event here. Is there a document explaining how we can do this?

1 Answer
answered on Nov 15, 2021 at 8:32am  

The '/presence?detailedTelephonyState=true' event filter won't give you all details of a call session. Use the /telephony/sessions/ event filter instead.

Look for an event like this to determine a warm transfer event and map the session ids or telephony session ids.

Remember that a call recording is not automatically continued (if auto-recording feature is not enabled) after the call is transferred to a new agent.

{
  "body":{"sequence":9,
    "sessionId":"600398999016", // origin session id
    "telephonySessionId":"s-6885fcf7ff48428db455027955a59901", // origin tel session id
    "parties":[
      {
        "accountId":"80964xxxx","extensionId":"59586xxxx",
        "id":"p-6885fcf7ff48428db455027955a59901-2",
        "direction":"Inbound",
        "to":{"phoneNumber":"+1209248xxxx","name":"Agent 120","extensionId":"59586xxxx"},
        "from":{"phoneNumber":"+1650513xxxx","name":"Phong Vu"},
        "status":{
          "code":"Gone",
          "reason":"AttendedTransfer",
          "peerId":{
            "telephonySessionId":"s-5e9ea55d51ca43c5b555093b98e6be64", // new tel session id
            "sessionId":"600400135016", // new session id
            "partyId":"p-5e9ea55d51ca43c5b555093b98e6be64-1" // new party id
            },
          "rcc":false
        },
        "park":{},"missedCall":false,"standAlone":false,"muted":false}],"origin":{"type":"Call"}}
}

 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