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
sessionId property ties together multiple legs of a call
Tags: phone
Oct 6, 2016 at 4:58pm   •   7 replies  •  0 likes
brian-blank

We have inbound calls that get transferred one or more times within the company. When I look at the json data for those multiple legs, there is nothing that ties them together. I saw a post from Benjamin Dean that states:

"You can use the 'sessionId' property as that is unique across multiple legs of a call. Does that answer your last question?"

https://devcommunity.ringcentral.com/ringcentraldev/topics/outbound-call-issue


In my json data, the sessionId changes for each leg. Is there some setting that I need to change so that the sessionId will stay the same for each leg of the call?



7 Answers
answered on Oct 11, 2016 at 7:18pm  
Brian, let me clarify:

1) Do you experience the same issue with blind transfers? I am pretty sure that in case of blind transfer you will have the same session ID across all legs.

2) In case of warm transfer technically there are two separate calls so they have different session IDs. You are right, these calls are logically linked by transfer operation. At the moment we do not return any indication in a call log about such link but we can consider it as a future API enhancement. The way how we can implement it is returning previous session ID(s) along with current session ID (there may be a sequence of transfers). Will it solve your problem if call log will have this information?

 0
answered on Oct 11, 2016 at 11:08am  
We have been successfully transferring calls using both the blind and warm methods. The problem remains that we have found no way of tying the different legs of the call together. Each leg has a different sessionId. No other data seems to be able to tie them together.
Is this a bug in the software, as is alluded to in the post mentioned above, or am I missing something?

 0
answered on Oct 7, 2016 at 3:53pm  

It depends on how you make/answer the call (on deskphone, softphone, mobile app, etc). There are some Knowledge Base articles you can check out:


https://support.ringcentral.com/article/Deskphones-Transfer-Calls.html

https://support.ringcentral.com/article/901.html

https://support.ringcentral.com/article/8051.html


In the last article - transfer button lets you choose warm or blind transfer.


 0
answered on Oct 7, 2016 at 2:46pm  
How do we initiate a transfer that will not be considered a warm transfer?

Here is a discussion of the same issue:
https://devcommunity.ringcentral.com/ringcentraldev/topics/ringout-quirks 

Hrm...that's a problem indeed. I was under the assumption that sessionId was supposed to be a unique identifier across multiple legs of a cal (and at first glance the numbers are nearly identical except for a single digit).
So I went to our engineering team and here is the answer they provided me:
Usually RingOut has just one presence event when "from" number is 1) either external PSTN number 2) or direct device (DL) number associated with extension.
In this particular case, there are really two sessions because you have specified your own RC phone number as a "from" number.
If we need to forward our calls in a different way so that each leg can be tied together by sessionId, then we can do that.


 0
answered on Oct 6, 2016 at 6:28pm  
They are not legs of the same call, they are technically different calls. When the warm transfer is initiated it creates a new session. As you can see even recording IDs are different. If user initiates blind transfer all legs will be in one session (in this case you will be able to see legs by calling the api with "view=Detailed" parameter).

 0
answered on Oct 6, 2016 at 6:13pm  
Here is the json data for the three legs of a call. I listed to the recordings and verified that it is one call being transferred two different times. Notice that the sessionId is different in all three legs 



 0
answered on Oct 6, 2016 at 5:19pm  

Hi Brian,

Can you provide more details? Ideally HTTP Response trace showing multiple sessionId for different legs of the same call?

You can send it to the developer support team and create a support ticket.


 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