摘 要
由于网络技术和语音压缩技术的不断发展,VoIP(Voice over Internet Protocol)技术应用的越来越广泛。会话初始化协议SIP[1](Session Initiation Protocol)具有结构简洁、易于扩展和实现等良好特性,更符合VoIP及下一代网络NGN[2](Next General Network)发展的趋势。基于此,本文描述了一种基于SIP协议的VoIP系统,并对户代理服务端(User Agent Server)做了深入研究大学论文网www.wnwu.com。
本文首先分析了VoIP的背景、意义及VoIP当中的关键技术。着重论述了SIP协议的消息、事务等。然后,在上面研究的基础上并结合目前实际情况设计了基于SIP协议的VoIP系统,并详细介绍了系统中各个模块的功能,包括用户代理模块、代理服务器模块、传输模块等。
重点介绍了IP电话UAS模块的设计和实现。首先分析了SIP协议栈,对其中的解析器和状态机模块做了详细的叙述。提出了基于事务状态转换机的应用程序的总体设计方案以实现UAS模块的各功能。最后在PC机进行了客户端的各项功能的测试。测试表明,该客户端能够较好得完成预期的设计功能。
关键词:语音压缩,下一代网络,会话初始协议,客户端
ABSTRACT大学论文网www.wnwu.com
As the development of network technology and voice compression technology, VoIP (Voice over Internet Protocol) technology is using more and more widely. With these good characteristics such as the simple structure and easy to expand and achieve, Session Initiation Protocol is more suitable for VoIP and the trend of development in the next-generation networks. The paper described a SIP-based VoIP system, and do an in-depth study with the UAS module.
This paper first analyzed the background , significance, key technologies of VOIP. Mainly introduce the SIP message, SIP transaction, etc. Then, on the basis of the above and combined with the current actual situation we design the SIP-based VoIP system,and introduce the functions of various modules in details, the modules including user agent module, proxy server module, transmission module, and so on.
This paper focused on the UAS module design and implementation of IP phone. First analyzed the SIP stack, It is do a detailed description on parser module and the state machine module. Apply the scheme of the conversion of transaction state design and the implement of the functions of the UAS module. Finally, the function of a PC-client was tested. And the results show that the client can be better in the expected completion of the design features.
Keywords: Voice compression,Next Generation Network,SIP,UA
目 录
摘 要大学论文网www.wnwu.com I
ABSTRACT II
第1章 绪论 1
1.1项目背景 1
1.2项目意义 1
1.3文章主要内容 2
第2章 相关技术介绍 3
2.1 VoIP中的关键技术 3
2.1.1 信令技术 3
2.1.2语音编码技术 4
2.1.3 实时传输技术 4
2.1.4 QoS保障技术 5
2.1.5 网络传输技术 5
2.2 SIP协议介绍 5
2.2.1 SIP消息 6
2.2.2 SIP会话 7
2.2.3 SIP事务 7
2.2.4 SIP的分层结构 8
第3章 基于SIP协议的VoIP系统 10
3.1 基于SIP协议的VoIP系统的组成 10
3.1.1用户代理 10
3.1.2代理服务器 11
3.1.3重定向服务器 12
3.1.4注册服务器 12
3.1.5定位服务器 12
3.1.6传输模块 13
3.2 实例过程 13
3.3系统基本工作模式 15
第4章客户代理服务端(UAS)的设计 17
4.1 UAS模块的设计思想 17
4.2 oSIP协议栈解析 17
4.2.1解析器模块 18
4.2.2状态机模块 20
4.2.3工具模块 24
4.3 UA模块的设计 25
4.4 UAS模块的设计 27
4.5 UAS模块的实现 29
第五章VOIP客户端的功能测试 32
5.1 UAS模块在PC机上的测试 32
5.2测试结果分析 32
5.2.1注册 32
5.2.2呼叫测试结果 33
5.2.3三方通话及切换功能测试 36
5.2.4呼叫保持功能测试 37
5.3总结 37
结 论 38
参考文献 39
致 谢 40
附 录1 - 41 -
附 录2 - 42 -