I'm using the RingCentral.net SDK. I use basically this code to monitor for my extension's calls:
=================
string s1 = "/restapi/v1.0/account/{0}/extension/~/presence?detailedTelephonyState=true&sipData=true";
string s2 = "/restapi/v1.0/account/{0}/telephony/sessions";
// replace the IDs in the above strings (not shown)
await r.PubNubExtension.Subscribe(new[] {s1, s2}, Device.ParseSubscription);
=================
When I receive the events for the calls, I would like to know which actual device (handset) the call is happening on. I've seen in the traces for outbound calls that "DeviceId" appears in the "body.parties[0].from" field but this value doesn't come through the SDK. Also the value doesn't appear to be present (ie in ".to") for inbound calls.
Also, when making a call, then the deviceid is required to make the call (using CallOut)
So my question is:
Is it possible to get the actual device id for the handset involved in calls?