摘 要
随着Internet日新月异的飞速发展,VoIP(Voice over IP)业务作为一种新的网络服务呈现出广阔的应用前景。其中由IETF(Internet Engineering Task Force因特网工程任务组)提出的SIP (Session Initiation Protocol,会话初始化协议)因为结构简单灵活扩展性好等技术优点,在VoIP系统中得到大量应用。
本文分析了基于SIP的VoIP的系统的基本组成,包括用户代理、代理服务器、注册服务器、重定向服务器、定位服务器、网关等模块,并对各模块做了简要的介绍。重点利用开源项目OpenSER设计了基于SIP协议的代理服务器,首先介绍了代理服务器的功能,提出了基于事务处理和划分子模块的设计思想,给出了代理服务器详细设计方案和实现过程。大学论文网www.wnwu.com.txt
最后,本文给出了实现代理服务器的测试数据,测试结果证明代理服务器能较好的完成预期的设计功能。
关键词:VoIP,SIP,代理服务器,OpenSER
ABSTRACT
With the fast development of the Internet technology,VoIP(Voice over IP) as a new network service has become the most promising technology。One by IETF (Internet Engineering Task Force ) to the SIP (Session Initiation Protocol) as simple and flexible structure of the expansion of good technical merits, the VoIP system in the large number of applications received.
This paper analyses the SIP-based VoIP system's basic components, including user agents, proxy servers, registration server, redirect servers, location server, Gateway, and other modules, and give a brief introduction for each module.Focused on the design a proxy server which based on the sip protocol with using an open source project of openser.At first introduced a proxy server functions,proposed the design idea based on the transaction processing and sub-module,and given the proxy server programme and the achievement of the detailed design process.
Finally ,this paper given the realization of proxy test data,and the results of test show that the proxy server can be better achived the completion of the design features.
Keywords:VoIP, SIP,Proxy Server,OpenSER
目录
第1章 绪论 1
1.1 项目背景 1
1.2 项目意义大学论文网www.wnwu.com.txt 2
1.3 本文主要内容 2
第2章 VOIP相关技术介绍 4
2.1 SIP概述 4
2.1.1 SIP框架结构 4
2.1.2 SIP垂直结构及SIP分层 4
2.1.3 SIP报文 5
2.2 关键技术 7
2.2.1 信令技术 8
2.2.2 语音编码处理技术 9
2.2.3 实时传输技术 9
2.2.4 QoS保障技术 9
2.2.5 网络传输技术 9
2.2.6 计算机电话集成(CTI)技术 10
2.2.7 网络管理技术 10
2.3 相关协议 10
2.3.1 会话通告协议(SAP) 10
2.3.2 会话描述协议(SDP) 11
2.4 OPENSER开源项目 11
第3章 基于SIP的VOIP系统的组成大学论文网www.wnwu.com.txt 12
3.1 基于SIP的VOIP的系统结构 12
3.1.1 用户代理(UA) 13
3.1.2 代理服务器(Proxy Server) 13
3.1.3 注册服务器(Register Server) 13
3.1.4 重定向服务器(Redirect Server) 14
3.1.5 定位服务器(Location Server) 14
3.1.6 网关(Gateway) 14
第4章 基于SIP的代理服务器设计与实现 16
4.1 代理服务器功能 16
4.2 代理服务器设计思想 17
4.3 代理服务器详细设计 19
4.3.1 事务处理模块设计 20
4.3.2 代理服务器客户端行为流程设计 27
4.3.3 代理服务器服务端工作流程设计 28
4.4 代理服务器的实现 29
第5章 代理服务器功能测试 30
5.1 开发过程 30
5.2 代理服务器运行环境 30
5.3 测试SIP用户代理环境 30
5.4 整个系统测试架构 31
5.5 测试报文流 31
5.5.1 注册过程报文流 31
5.5.2 建立会话报文流(局域网内测试) 32
5.6 测试结果小结 34
总结与展望 36
参考文献 大学论文网www.wnwu.com.txt37
致谢 39