SINCH :: Session Management for App to App Call

ぃ、小莉子 提交于 2019-12-11 06:26:28

问题


I am developing an app with SINCH Platform for VOIP feature.

I am performing an app to app call.

I am aware that if Callback URL of application Server is set on SINCH Dashboard then it will not trigger DICE (Disconnect Call Event callback) [refer here] event for App to App Call.

But I have to manage all call details with my App Server. How Can I manage it from my Mobile App? (Like how can i notify my app server that last call was about of 50 seconds? So my server can manage relevant credit for that user as per call time)

I know that I can perform request to my app server with call details after every call end but what to do in below scenario?

1> App to App call is on Going (Caller 'A' and Recipient 'B')

2> Caller 'A' presses home button while app to app call is onGoing.

3> Now Caller 'A' removes application from recent task as well (By Swiping Left or Right from Recent Task Screen)

4> Now Caller 'A' Clears app data and gets register again with My App.

In This case how can I send request from Caller 'A' Device to My App Server.

I have found that Sinch perform rest Request as "sandbox.sinch.com/V1/Session". Is It of Any Use for me?

来源:https://stackoverflow.com/questions/38326612/sinch-session-management-for-app-to-app-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!