RingCentral.Net
RingCentral.Net copied to clipboard
Account Telephony Session Event - DeviceId Missing
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?
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.
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.
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.