question

Jerry Clark avatar image
Jerry Clark asked Jerry Clark answered

Mapping Embedded Call Control Data to WebHook Data

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?

webhooksembeddable
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

Jerry Clark avatar image
Jerry Clark answered

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

1 |3000

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

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