简体   繁体   English

twilio iOS SDK中的Twilio传入呼叫问题

[英]Twilio incoming call issue in twilio iOS Sdk

I am using twilio iOS sdk in my application and am having problem with incoming call . 我在我的应用程序中使用twilio iOS sdk,并且来电有问题。 I can able to get incoming call, but the caller disconnect the call after he spoke i didn't get any callback in my app. 我可以接听电话,但呼叫者说我没有在我的应用程序中收到任何回叫后,就断开了呼叫。 so i can't able to identify that call has been disconnected in my app. 因此我无法确定该呼叫已在我的应用程序中断开。

Note: Right now I'm using the below callback method in my application, it has been called once when the incoming call is ignore, but it didn't call when the caller spoke and disconnect the call. 注意:现在,我在应用程序中使用以下回调方法,当传入呼叫被忽略时,该方法已被调用一次,但是当呼叫者讲话并断开呼叫时,该方法未被调用。

- (void)connectionDidDisconnect:(TCConnection *)connection

You might try to update your code with a call to - (void)disconnectAll after a caller disconnects. 在调用者断开- (void)disconnectAll后,您可以尝试通过调用- (void)disconnectAll更新代码。

https://www.twilio.com/docs/api/client/ios/tcdevice#disconnectAll https://www.twilio.com/docs/api/client/ios/tcdevice#disconnectAll

This a convenience routine that disconnects all current incoming and outgoing connections. 这是一个方便的例程,它断开所有当前的传入和传出连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM