几类SIP协议栈大比拼

网络 网络管理
下面我们就来讲解一下SIP协议栈的内容。我们罗列了几种SIP协议栈的内容,大家可以对比学习一下,看看各有什么特点。

网络通讯的发展是让人吃惊的。那么各种技术的产生,也给固有通讯带来了冲击,这里我们就介绍一下其中的SIP协议栈内容。随着VoIP和NGN技术的发展,H.323时代即将过渡到SIP时代,在H.323的开源协议栈中,Openh323占统治地位,它把一个复杂而又先进的H.323协议栈展现在普通程序员的眼前,为H.323普及立下了汗马功劳。而然当在SIP时代,则出现了群雄割据的状况,SIP相对于H.323 简单,灵活,于是各种协议栈层出不穷,下面将详细对比***有代表性的5个开源项目:OPAL,VOCAL,sipX,ReSIProcate,oSIP。

OPAL是Open Phone Abstraction Library,是Openh323的下一个版本,它仍然使用了Openh323的体系结构,并在其基础上进行扩展,同时实现了SIP,H.323,但在音频和视频的编码和传输部分有较大改动。OPAL初衷设计是包含任何电话通信协议,所以其底层进行了高度的抽象化,所以也能够很容易的支持MGCP, PSTN和将来会出现的协议。不过由于Openh323的***一个版本还在开发中,所以原本6月发布的OPAL也被推迟,现有的OPAL还非常不完善, BUG也非常多,不过相信以Openh323的开发班底,一定能让OPAL十分优秀。

  1. CVS : :pserver:anonymous@cvs.sourceforge.net:/cvsroot/openh323/opal  
  2. Language : C++  
  3. VxWorks port : Yes  
  4. Win32 port : Yes  
  5. Linux port : Yes  
  6. Supports RFC 3261 : Yes  
  7. Supports RFC 2327 : Yes  
  8. Supports RFC 3264 : Yes  
  9. Supports RFC 3263 : No  
  10. Supports RFC 3515 : Yes  
  11. Supports RFC 3262 : No  
  12. Supports RFC 3311 : No  
  13. TCP : Yes  
  14. UDP : Yes  
  15. SIZE : 8MB  
  16. License : MPL  
  17. Document : None  
  18. Samples : UA,GK 

VOCAL是vovida.org开发的SIP系统,VOCAL应该是目前功能最完善,使用者最多的开源SIP协议栈了.它不只包括了协议栈,还包括了 h323与sip转换网关,对SIP的各种Server的功能支持也非常完善.不过很可惜,不支持windows平台,而且自从vovida被CISCO 收购以后就停止了开发,***的版本是2003年4月的1.5.0。

  1. CVS : :pserver:anonymous@cvs.vovida.org:/cvsroot/vocal  
  2. Language : C++  
  3. VxWorks port : No  
  4. Win32 port : Partial  
  5. Linux port : Yes  
  6. Supports RFC 3261 : Partial  
  7. Supports RFC 2327 : Yes  
  8. Supports RFC 3264 :  
  9. Supports RFC 3263 :  
  10. Supports RFC 3515 : Yes  
  11. Supports RFC 3262 :  
  12. Supports RFC 3311 :  
  13. TCP : Yes  
  14. UDP : Yes  
  15. SIZE : 6MB  
  16. License: Vovida software licencse  
  17. Document : Few  
  18. Samples : UA,GK,GW 

sipX是一个SIP系统,由SIPFoundry开发。sipX是从reSIProcate分离出来的,sipX除了包括SIP stack外,还包括了sipXphone,sipXproxy,sipXregistry等等...,由它们构成了完整的SIP系统,而且sipx还支持嵌入式系统,各个模块可以按需取舍。不过可惜是几乎没有任何开发文档。

  1. SVN : http://scm.sipfoundry.org/viewsvn/  
  2. Language : C++  
  3. VxWorks port : Yes  
  4. Win32 port : Yes  
  5. Linux port : Yes  
  6. Supports RFC 3261 : Yes  
  7. Supports RFC 2327 : Yes  
  8. Supports RFC 3264 : Yes  
  9. Supports RFC 3263 : Yes  
  10. Supports RFC 3515 : Yes  
  11. Supports RFC 3262 : No  
  12. Supports RFC 3311 : No  
  13. TCP : Yes  
  14. UDP : Yes  
  15. SIZE : <4 Mb  
  16. License : LGPL  
  17. Document : None  
  18. Samples : UA,GK,GW 

ReSIProcate同样也是由SIPFoundry开发,ReSIProcate最开始起源于Vocal,由于Vocal开始只支持 rfc3254,为了支持***的rfc3261,ReSIProcate诞生了,但现在,ReSIProcate已经成为一个独立SIP协议栈了,它十分稳定,并且很多商业程序都在使用。

  1. SVN : http://scm.sipfoundry.org/viewsvn/resiprocate/main/sip/  
  2. Language : C++  
  3. VxWorks port : No  
  4. Win32 port : Yes  
  5. Linux port : Yes  
  6. Supports RFC 3261 : Yes  
  7. Supports RFC 2327 : Yes  
  8. Supports RFC 3264 : Yes  
  9. Supports RFC 3263 : Partial  
  10. Supports RFC 3515 : Yes  
  11. Supports RFC 3262 : No  
  12. Supports RFC 3311 : No  
  13. TCP : Yes  
  14. UDP : Yes  
  15. SIZE : < 2.5 Mb  
  16. License : Vovida  
  17. Document : Few  
  18. Samples : None 

oSIP的开发开始于2000年7月,***个版本在2001年5月发布,到现在已经发展到2.0.9了。它采用ANSI C编写,而且结构简单小巧,所以速度特别快,它并不提供高层的SIP会话控制API,它主要提供一些解析SIP/SDP消息的API和事务处理的状态机, oSIP的作者还开发了基于oSIP的UA lib:exosip和proxy server lib:partysip.

  1. CVS : :ext:anoncvs@savannah.gnu.org:/cvsroot/osip  
  2. Language : C  
  3. VxWorks port : Yes  
  4. Win32 port : Yes  
  5. Linux port : Yes  
  6. Supports RFC 3261 : Yes  
  7. Supports RFC 2327 : Yes  
  8. Supports RFC 3264 : Yes  
  9. Supports RFC 3263 : Yes  
  10. Supports RFC 3515 : No  
  11. Supports RFC 3262 : No  
  12. Supports RFC 3311 : Yes  
  13. TCP : Yes  
  14. UDP : Yes  
  15. SIZE : 400kb  
  16. License : LGPL  
  17. Samples : UA,GK 

综合上述评测,可以看出5种SIP协议栈各有千秋,OPAL有发展潜力,VOCAL比较完善,sipX兼容性好,ReSIProcate教稳定,oSIP小巧而快速。所以要根据应用的不同选择恰当的协议栈进行研究开发。

责任编辑:佟健 来源: hi.baidu.com
相关推荐

2010-03-18 14:54:46

主流无线技术

2011-01-19 11:10:30

2017-09-10 14:29:03

眼力

2010-05-28 11:09:51

SVN功能

2010-08-25 16:12:34

职场

2014-01-07 17:08:02

Java开源框架

2021-03-15 21:07:17

IT行业薪酬薪水

2011-11-08 10:29:44

2023-05-26 15:53:48

MidjourneyAI图像

2020-08-04 17:06:40

Merging Rebasing Git

2010-07-14 13:38:51

Perl开发工具

2009-12-18 15:02:47

无线技术3G协议优缺点

2009-12-01 08:47:41

2013-04-22 14:21:13

WP、Android、

2009-10-13 14:46:00

思科认证

2010-04-21 12:54:46

Unix内核

2019-03-29 08:25:21

JSONXML前端

2018-10-25 14:08:07

KubernetesGoogle

2012-08-15 09:26:54

虚拟化

2019-08-27 09:00:00

敏捷开发开发方法项目
点赞
收藏

51CTO技术栈公众号