RingCentral.Net icon indicating copy to clipboard operation
RingCentral.Net copied to clipboard

Account Telephony Session Event - DeviceId Missing

Open tstrausbaugh-dev opened this issue 4 months ago • 3 comments

Hello,

I am working on integrating with Ring Central using this library. Thanks for working on this library. Makes my life a lot easier. I noticed that the class used for these events have CallPartyInfo on the To and From in Body/Parties within the Event. The CallPartyInfo is missing the DeviceId field but I am receiving that field on some of my events. I noticed that there is a PartyInfo class that does have this field and the other fields in CallPartyInfo class. Maybe we can just switch the Telephony Events to use the PartyInfo class instead?

tstrausbaugh-dev avatar Jul 09 '25 19:07 tstrausbaugh-dev

Thank you for reporting this issue. Over 95% of the code is auto-generated based on predefined specifications, which are maintained by a separate team. I’ll escalate this to them for review. Once the specification is corrected, I’ll regenerate the code for this SDK and publish a new version.

In the meantime, could you provide a real example of a notification that includes the deviceId field? Feel free to replace any sensitive information (e.g., phone numbers) with placeholder values.

tylerlong avatar Jul 09 '25 20:07 tylerlong

Sorry. I am just seeing your response now. I probably had an example when I submitted this issue but I not longer do. I may be able to get an example though. If I can I will post it here.

tstrausbaugh-dev avatar Aug 07 '25 14:08 tstrausbaugh-dev

I created a simple project to reproduce the issue: https://github.com/tylerlong/rc-subscription-quicktest/blob/main/src/index.ts

But as I tested, the event doesn't have a DeviceId field at all.

Maybe you can tell me more details, like it is a inbound call or outbound call. How do you make or take the call?

I am receiving that field on some of my events

Please help me to figure out how to trigger such an event with that field.

tylerlong avatar Sep 10 '25 18:09 tylerlong