question

Nanda Mangati avatar image
Nanda Mangati asked Phong Vu commented

sessionId missing from webhook data. Event subscription: account/~/extension/~/presence?detailedTelephonyState=true

We are seeing in some cases `sessionId` is not present in the active calls data.

Example data:

OrderedDict([('direction', 'Inbound'), ('from', '<redacted>'), ('fromName', '<redacted>'), ('id', 's-0b1dddd7305b4f21aedc0b86b1fc64d5'), ('partyId', 'p-0b1dddd7305b4f21aedc0b86b1fc64d5-4'), ('startTime', '2021-06-01T19:13:53.228Z'), ('telephonySessionId', 's-0b1dddd7305b4f21aedc0b86b1fc64d5'), ('telephonyStatus', 'NoCall'), ('terminationType', 'final'), ('to', '<redacted>'), ('toName', 'Business Queue ')])


Any specific cases where sessionId will not be present?

phonewebhookssubscription
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

This is weird and if true, it must be a bug. However, this payload has been converted to a dictionary object so I am not sure how and where the data got lost. Can you print out the raw data? Can you check also if the session id present when the call is in other states like Ringing, Connected etc.

2 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

@Phong Vu this is captured before we start processing the data. It is highly unlikely that `sessionId` got lost after we received the webhook data. sessionId is not present in other call states as well. I have raised a support ticket for this.

0 Likes 0 ·

It's a correct way to get help in this case as someone needs to look into your account to investigate. Good luck

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys