Question

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

  • 4 February 2022
  • 1 reply
  • 313 views

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?


1 reply

Userlevel 1

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.

Reply