question

eugene1578 avatar image
eugene1578 asked Tyler Liu commented

I'd like to get notification about generation of call-log

I am using the https://github.com/ringcentral/ringcentral-csharp-client c# SDK.


After the call is completed, i am going to download recorded wav file.


I was going to download recorded file, when phone state get changed "NoCall" from "CallConnected".


function I used is follow.


subscription.EventFilters.Add("/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true");


This function was used to get phone state.


But At this time recorded file wasn't generated yet.


The file was generated after a few sec.


I'd like to get notification about generation of call-log


I am going to download file when call-log is created.


Can I use subscription funciotn to get notification about generation call-log.?


Kind Regurd.






sdk
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
I am afraid that there is no notification event for the generation of call logs.

Normally call log will be available in a few minutes after the call is finished. You can create a timer to fetch call logs repeatedly until it is successfully fetched.

If I have better solutions, I will come back and post here.
1 |3000

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

John Wang avatar image
John Wang Deactivated answered
We are consider adding a subscription event filter for call log.

If anyone else would like this, please post and let us know.

If we do that, we will update this thread and let everyone know.
1 |3000

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

eugene1578 avatar image
eugene1578 answered Tyler Liu commented
Hi. John Wang
Thanks your reply
Would you let me know specifically about  adding a subscription event filter for call log.
I want to implement it.
In order to adding a subscription event filter for call log, I did the follow.
subscription.EventFilters.Add("restapi/v1.0/account/~/extension/~/call-log"); 
But. it is happened exception at the runtime.
I believe you can help me.
3 comments
1 |3000

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

Tyler Liu avatar image Tyler Liu ♦ commented ·
Here is a list of the supported event filters:  https://developer.ringcentral.com/api-docs/latest/index.html#!#EventTypes.html

"/restapi/v1.0/account/~/extension/~/call-log" is not in the list so it's not supported.

As John Wang said, if anyone else would like us to support it, please post and let us know.
0 Likes 0 ·
eugene1578 avatar image eugene1578 commented ·
Thank your responsive.
I want it.
Is there really no way?
As I said before,  I am going to download record file when completing call.
I want you to help me as long as I am using sdk you created.
kind regard.
0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·
I would like to help. But currently it's not supported by API server side. Most of time you can download it 30 seconds after call ends.
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