Question

Mapping Embedded Call Control Data to WebHook Data

  • 31 January 2024
  • 1 reply
  • 153 views

Hi All,

I have a scenario where we are capturing the event data from the embeddable call controls, specifically the "callId" field. We are then receiving webhooks for the call disconnect events ( /restapi/v1.0/account/~/telephony/sessions?statusCode=Disconnected) and I would like to be able to map the webhook data to the existing embedded event data - ideally using the callId I received from the embedded call event but I cant find this id anywhere. Is this possible or do I need to rely on mapping the embedded data sessionId to the webhook telephonySessionId field?


1 reply

For anyone with this issue, I was able to resolve this by adding "sipData=true" to my event subscriptions:

/restapi/v1.0/account/~/telephony/sessions?sipData=true&statusCode=Disconnected

Reply