question

point-of-rental-software3262 avatar image
point-of-rental-software3262 asked ·

active-calls for current login user

https://platform.ringcentral.com/restapi/v1.0/account/~/extension/~/active-calls  
https://platform.ringcentral.com/restapi/v1.0/account/123456/extension/7020/active-calls 

didn't work, nothing returned even extension 7020 is answering the call.
I need current call record to show whom the logged user is talking to. we have more than 60 different extensions.
aaa
1 |1000 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

· Write an Answer
John Wang avatar image
John Wang answered ·
When you say extension 7020, do you mean 7020 is the extension number that is dialed to reach the user?

If so, then 7020 is what is called the "extensionNumber" in our API which can be used for dialing purposes. However, the number in the REST API path is the "extensionId" which is a different number. To retrieve a list of extensions call the extension (account/{accountId}/extension) endpoint and you will get a list of extensions back with both and "id" (aka "extensionId") property and an "extensionNumber". The "id" property is the one that is used in the REST API path.
1 |1000 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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