ringcentral / RingCentral.Net

RingCentral SDK for .NET
MIT License
19 stars 26 forks source link

TelephonySessionsEventPartyInfo Missing Recordings #63

Open robgainer55 opened 7 months ago

robgainer55 commented 7 months ago

The TelephonySessionsEventPartyInfo should have a Recordings property that is an array of RecordingInfo objects just like CallParty. It's included as part of the AccountTelephonySessionsEvent JSON that a webhook receives when subscribing to Account Telephony Sessions Events (/restapi/v1.0/account/~/telephony/sessions).

JSON example for reference:

{ "uuid": "5592845733081229782", "event": "/restapi/v1.0/account/874494005/extension/430213004/telephony/sessions", "timestamp": "2024-03-13T15:46:50.907Z", "subscriptionId": "b40a2d60-bde5-41cf-b372-848aadeae59d", "ownerId": "874494005", "body": { "sequence": 8, "sessionId": "19781210005", "telephonySessionId": "s-a1d145704da1cz18e387e5223z8af60000", "serverId": "10.29.20.87.TAM", "eventTime": "2024-03-13T15:46:50.792Z", "parties": [ { "accountId": "874494005", "extensionId": "430213004", "id": "p-a1d145704da1cz18e387e5223z8af60000-2", "direction": "Inbound", "to": { "phoneNumber": "+16502420039", "name": "CallRevu Tester", "extensionId": "430213004" }, "from": { "phoneNumber": "+12035362278" }, "recordings": [ { "id": "16164210005", "active": true } ], "status": { "code": "Answered", "rcc": false }, "park": {}, "missedCall": false, "standAlone": false, "muted": false } ], "origin": { "type": "Call" } } }

tylerlong commented 7 months ago

The code is auto generated based on spec. I have raised an internal ticket to update the spec.