VoIP测试环境

发布于 2024-07-16 09:22:45 字数 649 浏览 7 评论 0原文

我想为一个学生项目构建一个 VoIP 测试环境。 应该使用SIP。

我的第一个想法是使用 AsteriskOpenSIPSFreeSWITCH 用于服务器,SIP CommunicatorMinisipLinphone 作为软件电话客户端。

  • 有人有建立这样的环境的经验吗?
  • 我应该使用哪种组合?
  • 有没有关于设置此基础设施的教程?

I want to build a VoIP test environment for a student project. It should use SIP.

My first idea is to use Asterisk, OpenSIPS or FreeSWITCH for the server and SIP Communicator, Minisip or Linphone as softphone clients.

  • Does anybody have experience with setting up such an environment?
  • Which combination should I use?
  • Are there any tutorials for setting up this infrastructure?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

紅太極 2024-07-23 09:22:45

我对 AsteriskSJPhone 有一些经验。

如果您的网络不需要复杂的拨号计划(如热线等),并且您的 PC 可以相互访问,那么您根本不需要服务器。

SJphone 只需使用IP 地址或主机名即可建立点对点连接。

如果您的 PC 无法相互访问,那么您应该设置 Asterisk 并在其上启用客户端注册。

在我的 Fedora 10 上,Asterisk 可以开箱即用。

客户端注册就像在 ICQMSN 上在线:服务器知道您在线并保持您的 TCP 流处于活动状态,以防有人想要打电话给你。

它还可以用来显示人员的状态:谁在线、离线、忙碌等。

其中包含一个示例 sip.conf 文件,它非常简单。 对于每个客户端,您创建一个如下所示的条目:

[john]
type=friend
secret=secretpassword
host=dynamic

有一些插件可以将这些数据保存在数据库中,但我还没有查看它们。

I had some experience with Asterisk and SJPhone.

If your network does not need complex dialing plans (like hotlines etc), and your PC's are accessible from each other, then you don't need a server at all.

SJphone can establish a peer-to-peer connection just by using an IP address or a host name.

If your PC's cannot access each other, then you should setup Asterisk and enable client registration on it.

On my Fedora 10, Asterisk worked out of box.

Client registration is like being online on ICQ or MSN: the server knows you're online and keeps your TCP stream alive in case someone wants to call you.

It also can be used to show status of people: who's online, offline, busy etc.

There is a sample sip.conf file included, it's really simple. For each client, you create an entry like this:

[john]
type=friend
secret=secretpassword
host=dynamic

There are plugins that can keep this data in the database, but I didn't look at them yet.

一直在等你来 2024-07-23 09:22:45

请记住,OpenSIPS 与 Asterisk 或 FreeSWITCH 的目的非常不同。

OpenSIPS 是一个 SIP 代理,而不是任何类型的用户代理。 它不能充当呼叫端点,并且专门用于呼叫路由和低级 SIP 重整,以及一些其他杂项 UAS 类型功能(即注册器)。

Asterisk 和 FreeSWITCH 同时可以充当 PBX、IVR 服务器、媒体服务器等。

因此,这实际上取决于项目的目标是什么。 如果只是从一部手机向另一部手机拨打电话,则根本不需要中间进行任何操作。 如果要修补某些高级电话应用程序,请使用 Asterisk 或 FreeSWITCH。 如果是简单的路由和信令中介(没有媒体参与),请使用 OpenSIPS 等。

Keep in mind that the purpose of OpenSIPS vs. Asterisk or FreeSWITCH is very different.

OpenSIPS is a SIP proxy, not a user agent of any kind. It cannot function as a call endpoint and it is used exclusively for call routing and low-level SIP mangling, as well as some other miscellaneous UAS-type features (i.e. registrar).

Asterisk and FreeSWITCH meanwhile can function as PBXs, IVR servers, media servers, etc.

So, it really depends on what the objective of the project is. If it is simply to make calls from one phone to another, you do not need anything in the middle at all. If it is to tinker with certain high-level telephony applications, use Asterisk or FreeSWITCH. If it's simple routing and signaling intermediation (no media involvement), use OpenSIPS and whatnot.

九八野马 2024-07-23 09:22:45

请查看 Mobicents。 它是完整的 Java,由 Mobicents Sip Servlet 和 JAIN SLEE 组成,用于构建强大的 SIP、VoIP 或融合应用程序以及用于所有相关媒体内容(如会议 IVR 等)的媒体服务器,...

Please check out Mobicents. It's full Java, it's comprised of Mobicents Sip Servlets and JAIN SLEE to build powerful SIP, VoIP or converged applications and Media Server for all related media stuff such as conferencing IVR and so on,...

寒尘 2024-07-23 09:22:45

这取决于你想测试什么。 我建议:

  • 如果您想模拟协议测试并搞乱 SIP 流,请使用 sipp;
  • 如果您想编写服务器软件来测试客户端,请使用 Mobicents。 如果您致力于此,您还可以将您的测试套件集成到 JUnit 等中。

It depends on what you want to test. I recommend:

  • sipp if you want to simulate protocol testing and mess around with SIP flows
  • Mobicents if you want to write server software to test clients. If you work at it, you can also integrate your test suite into JUnit, etc.
赠佳期 2024-07-23 09:22:45

我用 miniSipServer 和 Xlite 构建了一个 SIP 系统。 这两个软件都是基于 Windows 的。 这是非常容易使用。

并且有一个简单的分步文档来描述如何部署 VOIP 网络,请参阅:

http://www.myvoipapp.com/docs/faq/setup_ippbx_for_small_business_step_by_step/index.html

I build a SIP system with miniSipServer and Xlite. Both these software are based on Windows. It is very easy to use.

And there is a simple step by step document to describe how to deploy a VOIP network, please refer to:

http://www.myvoipapp.com/docs/faq/setup_ippbx_for_small_business_step_by_step/index.html

雪化雨蝶 2024-07-23 09:22:45

我想说,要使用的项目取决于您的主要关注点。 如果它是 SIP 并且您想了解该协议,我会使用 SIP Express Router 或派生的项目之一。 如果一般使用 voip,ASterisk 是正确的选择。 Asterisk 现在是一个很好的选择,这也取决于你想要做什么...我以前有时使用 Xlite,SJPhone、Linphone 和 KPhone...

对于客户来说,

I would say that the project to use depends on what is your primary focus. If it's SIP and you want to understand the protocol, I would use SIP Express Router or one of the project derived. If it's using voip in general, ASterisk is the right choice. Asterisk now is a good alternative

For the client, It depends on what you want to do too... I used to use Xlite sometimes, SJPhone, Linphone and KPhone...

初与友歌 2024-07-23 09:22:45

我正在为自己构建这样一个测试服务器,您可以在这里找到一些想法:http://txlab。 wordpress.com/tag/xlab1/

I am building such a test server for myself, and you can find some ideas here: http://txlab.wordpress.com/tag/xlab1/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文