如何使用 Twilio IncomingCall 进行检查是否已断开连接。
当来电断开时,我得到以下日志(如未接来电类型)。但所有日志都是内置 Lib 的日志,所以我无法捕获或使用。
06-25 09:55:20.293 2037-2186/com.reach.xxxD/PJSIP: 09:55:20.293 dlg0xb9ce6504 ........Transaction tsx0xba71b874 state changed to Completed
06-25 09:55:20.294 2037-2186/com.reach.xxxD/Call(native): tw_call_get already exists
06-25 09:55:20.294 2037-2186/com.reach.xxxD/UserAgent(native): got on_call_state for call id 0
06-25 09:55:20.295 2037-2186/com.reach.xxxD/Call(native): tw_call_get already exists
06-25 09:55:20.295 2037-2186/com.reach.xxxD/UserAgent(native): ... forwarding to java
06-25 09:55:20.298 2037-2186/com.reach.xxxD/MediaManager: playing sound DISCONNECT as id 2
06-25 09:55:20.298 2037-2186/com.reach.xxxI/Connection: Connection disconnected successfully.
06-25 09:55:20.298 2037-2186/com.reach.xxxD/UserAgent(native): cinfo.state ... 487
06-25 09:55:20.298 2037-2186/com.reach.xxxI/PJSIP: 09:55:20.298 pjsua_media.c ..........Call 0: deinitializing media..
提前致谢。