局域网内可以使用SIP吗?
我对SIP了解不够。据我所知SIP不能在局域网中使用。但它的功能却非常好。我想将它用作 LAN Messenger(带有视频会议设施)。
有没有办法在局域网中使用SIP?
I don't know enough about SIP. As far as I know SIP can not be used in LAN. But it's features are very good. I want to use it for a LAN messenger (with video conference facilities).
Is there any way of using SIP in LAN network ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SIP 协议可以通过任何可靠的传输(TCP、XMPP、即时消息通道等)使用到知道如何将 SIP INVITE 消息从呼叫者路由到服务(例如,SIP 代理等服务器)的服务。被调用者。例如,如果您将 INVITE 发送到 [email protected],则需要知道如何找到“bob”并传递消息的服务。同样,当 Bob 发回其响应消息时,该消息需要路由回发送原始 INVITE 的呼叫者。
您可以在没有服务器的情况下执行 SIP - 前提是该计算机已经与用于呼叫的另一台计算机建立了连接(直接或间接)。
但 SIP 并没有什么特别的。如果您要发明自己的视频会议协议,它可能看起来很像 SIP。 SIP 的主要工作是让呼叫双方交换用于直接连接的 IP/端口候选以及编解码器和带宽协商数据。
交换 SIP 消息后,ICE/STUN/TURN 接管并且 RTP 数据包通常会流动。除了结束呼叫之外,呼叫中不使用 SIP。
你到底想做什么?
The SIP protocol can be used over any reliable transport (TCP, XMPP, instant messaging channel, etc...) to a service (e.g. a server such as a SIP proxy) that knows how to route the SIP INVITE message from the caller to the callee. e.g. If you send an INVITE to [email protected], there's needs to be a service that knows how to find "bob" and deliver the message. Likewise, when Bob sends back his response messages back, the messages need to route back to the caller who sent the original INVITE.
And you can do SIP without a server - provided the computer already have a connection (direct or indirect) to the other computer intended for the call.
But SIP isn't anything special. If you were to invent your own video conferencing protocol, it would probably look a lot like SIP. SIP's primary job is for both sides of a call to exchange IP/port candidates for connecting directly in addition to codec and bandwidth negotiation data.
After the SIP messages are exchanged, ICE/STUN/TURN take over and RTP packets typically flow. SIP isn't used in the call except to end the call.
What are you really trying to do anyway?
线程很旧,但我仍然想为此做出贡献。有各种 SIP 服务器,例如 http://www.officesip.com/index.html 可以使用在 LAN 中,也可以连接到硬件电话和软客户端。
Jitsi 是开源跨平台 SIP/xmpp 客户端:https://jitsi.org/
如果你想要 XMPP 服务器 Openfire 是最好的:http://www.igniterealtime.org/projects/ openfire/
我希望这肯定会对某人有所帮助..!
Thread is Old but still I would like to contribute to this. There are various SIP server like http://www.officesip.com/index.html which works in LAN and can be connected to hardware phone too and soft client also.
Jitsi is open source cross platform SIP/xmpp client:https://jitsi.org/
And if you want to XMPP server Openfire is the best:http://www.igniterealtime.org/projects/openfire/
I hope this will definitely help someone..!