我可以使用 Callkit SDK 来设置对 SIP URI 的调用吗

Can I use Callkit SDK to setup a call to a SIP URI

我想知道是否可以从 iOS Callkit 拨出 SIP URI。我找不到任何关于此的信息,我尝试过的也不起作用。

使用任何 SIP 库,您都可以拨打电话,但单独使用 SIP URI,您无法使用 callkit 拨打任何电话。

来自苹果文档

"CallKit lets you integrate your calling services with other call-related apps on the system. CallKit provides the calling interface, and you handle the back-end communication with your VoIP service. For incoming and outgoing calls, CallKit displays the same interfaces as the Phone app, giving your app a more native look and feel"

对于所有 sip 函数,您必须调用相应的 callkit 函数才能与本机通信 phone UI。 例如:如果来电断开通话,你将调用sip_hangup函数,同时你还必须调用callkit的断开连接函数。