[英]Incoming call notification for RingCentral
I am developing a C# application to notify user in real time for the incoming call. 我正在开发一个C#应用程序,以实时通知用户来电。 I am able to get SMS notifications successfully but not able to get notifications for the calls. 我能够成功获得SMS通知,但无法获得有关电话的通知。
I am using RingCentral C# Github to develop. 我正在使用RingCentral C#Github进行开发。
Thanks in advance. 提前致谢。
If you can get SMS notifications and want call notifications, you just need to modify your event filters and subscribe for presence events. 如果您可以获得SMS通知和想要的呼叫通知,则只需修改事件过滤器并订阅状态事件。 A list of events is available in the API Reference. API参考中提供了事件列表。 I've added a few deep links to call events below. 我在下面添加了一些深层链接来调用事件。
Account Presence Event 帐户存在事件
/restapi/v1.0/account/{accountId}/presence
Extension Presence Events 扩展存在事件
/restapi/v1.0/account/{accountId}/extension/{extensionId}/presence
/restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/line/presence
Detailed Extension Presence Events 详细的分机在线状态事件
/restapi/v1.0/account/{accountId}/extension/{extensionId}/presence?detailedTelephonyState=true
/restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/line/presence?detailedTelephonyState=true
Extension Presence Line Event 分机在线状态事件
/restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/line
Missed Calls Event 未接来电事件
/restapi/v1.0/account/{accountId}/extension/{extensionId}/missed-calls
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.