Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelephonySessionsEventPartyInfo Missing Recordings #63

Open
robgainer55 opened this issue Mar 14, 2024 · 1 comment
Open

TelephonySessionsEventPartyInfo Missing Recordings #63

robgainer55 opened this issue Mar 14, 2024 · 1 comment

Comments

@robgainer55
Copy link

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants