如何在没有SIP服务器的情况下在直接IP到IP之间进行呼叫 [英] How can I make call between direct IP to IP without SIP Server

查看:546
本文介绍了如何在没有SIP服务器的情况下在直接IP到IP之间进行呼叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过拨打本地IP地址拨打电话?只需IP到IP呼叫。我怎样才能做到这一点?我应该在 pjsip 代码中进行哪些更改?我不想在任何服务器或VOIP提供商中注册。该呼叫仅在本地WiFi中发生,就像 SJPhone 应用程序在Mac中所做的那样( http://www.sjlabs.com/sjp.html )。

Is there any way to make call by just dialing a local IP address? Simply an IP to IP call. How can I do this? What changes should I make in pjsip code? I don't want to register in any server or VOIP provider. The call will happen only in local WiFi, just like SJPhone applications do in Mac (http://www.sjlabs.com/sjp.html).

推荐答案

您可以愉快地使用SIP进行仅限LAN的呼叫 - 毕竟它主要是点对点协议。

You can happily make LAN-only calls with SIP - it is primarily a peer-to-peer protocol, after all.

换句话说,它是SIP的标准部分。

It's a standard part of SIP, in other words.

看起来pjsip已经支持调用 SIP URI直接(因为它应该!)所以你不需要调整任何东西。只需拨打 sip:10.0.0.1 sip:foo.home 或任何你想打电话的电话。

It looks like pjsip already supports calling a SIP URI directly (as it should!) so you shouldn't need to adjust anything. Just place calls to sip:10.0.0.1 or sip:foo.home or whatever you want to call.

(Nitpick:没有没有SIP服务器这样的东西,因为所有SIP用户代理都充当客户端和服务器。我认为你的意思是不使用SIP代理或类似的基础设施。)

(Nitpick: there's no such thing as "without SIP Server", because all SIP user agents act as both clients and servers. I presume you meant something like "without using SIP proxies or similar infrastructure".)

这篇关于如何在没有SIP服务器的情况下在直接IP到IP之间进行呼叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆