Use ringcentral List User Active Calls api to get calls that are calls that are in progress
you will get telephonySessionId from this api too
https://developers.ringcentral.com/api-reference/Call-Log/listExtensionActiveCalls