Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Portsip 手册中,如果对方接听电话,就会触发 com.portsip.OnPortSIPEvent.onInviteAnswered。但是到目前为止,我得到的是当 A 呼叫 B 时,onInviteAnswered 回调只是在 A 端立即触发,而不知道 B 实际上已经接听了电话。
或者这是预期的行为,请帮忙。
PortSIP VoIP SDK 的所有回调事件仅根据从远端接收到的 SIP 消息触发。在您的情况下,如果触发了 onInviteAnswered,则必须意味着 SDK 已从服务器/远程端收到 200 OK。
您使用的 SIP 服务器/PBX 是什么?您能否在测试期间运行 WireShark 来捕获服务器上的 SIP 消息,并将捕获的消息导出为 wireshark 文件并通过 support@portsip.com 发送给我们(只需通过“sip”过滤器过滤即可)?
谢谢