question

TJ Yang avatar image
TJ Yang asked Phong Vu commented

No call log records after get notification

I create a subscription for

/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true&sipData=true

I could get the notification when a call end.

But I want to get a detail call result.

So I call the "Get User Call Log Records" API.

But the record is empty at that time.

I could get the records after a few seconds.


I want to get the record details when receiving the notification.

Any idea?

call recordingsubscriptioncall logsnotificationswebhook
1 |1500 characters needed characters left characters exceeded

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

First, you cannot get the call record from the call log when the call is on going (active). You can only get it after the call is completed and there will be some delay after you get the disconnected event for the system to sync the call data with the call log. If the call is recorded, it may take up to 30 secs to get the call record and the call recording synced.

2 comments
1 |1500 characters needed characters left characters exceeded

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

Is there a notification(webhook) after the call is recorded?

Thank you.

0 Likes 0 ·

Unfortunately no. The "Disconnected" is the last event

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