摘要
SIP协议(Session Initiation Protocol,会话初始化协议)是IETF提出的、在IP网络环境下实现实时通信应用的一种信令协议。SIP协议具有灵活、简单、节时、分布式控制等优点,已被各种标准化组织所接受并推广。VoIP是一种利用IP网络实现语音通信的技术,通常使用H323作为信令控制协议。随着SIP协议的推出,基于SIP的VoIP系统正逐步走向市场并获得了越来越多的用户大学论文网www.wnwu.com。
本文分析了基于SIP的VoIP系统的基本组成,包括用户代理客户端/用户代理服务端(User Agent Client/User Agent Server,UAC/UAS)、用户代理、注册服务器、重定向服务器、代理服务器、定位服务器等模块,并对各模块作了简要的介绍。重点设计了基于SIP的VoIP系统的用户代理客户端,首先分析了基于SIP协议的用户代理客户端的工作原理,提出了基于事务状态转换机的UAC的设计思想,给出了用户代理客户端的概要设计和详细设计,在详细设计中介绍了呼叫、接听、注册、保持、转移、结束通话等几大功能的流程大学论文网www.wnwu.com。
最后,本文实现了用户代理客户端的各项功能,给出了系统的运行界面并对系统的各项功能进行了测试,测试结果证明该客户端能够较好得完成预期的设计功能。
关键词:SIP、客户端、VoIP、用户代理
Abstract
SIP protocol (Session Initiation Protocol) is being forward by the IETF,of the IP network environment in real-time communications applications as a signaling agreement. SIP agreement have the virtue of flexible, simple, festivals, the advantages of distributed control, and has been accepted by the various standardization organizations and promote. VoIP is a network technique to implement voice communications, that commonly used as a signaling H323 control agreement. With the introduction of SIP, SIP-based VoIP system is gradually moving toward market access and getting a growing number of users.
This paper analyses the basic component of the SIP-based VoIP system's, including user agent client / server user agent (User Agent Client / User Agent Server, UAC / UAS), the user agent, registered servers, redirect servers, proxy servers, Location Server, and other modules, and a brief introduction of each module. In the paper ,We are focus on the design of the SIP-based VoIP system user agent client, firstly,we are getting the analysis of the agreement based on the SIP user agent client of principle, based on the state of affairs for the conversion of the UAC design, the user agent is a summary of client design And detailed design, the detailed design on the call, answering, registration, maintain, transfer, end the call, and other major features of the process.
Finally, in this paper ,we are implement to achieve a user agent client of the various functions, and give the system operating system interface and test the various functions.Results prove that the client can be better in the expected completion of the design features.
Keywords:Session Initiation Protocol、Voice Over IP、User Agent 、client
目 录
摘要大学论文网www.wnwu.com I
Abstract II
第一章 绪论 1
1.1 项目背景 1
1.2 项目意义 1
1.3 本文组织结构 2
第二章 相关技术及协议 3
2.1 SIP概述 3
2.1.1 SIP消息 3
2.1.2 SIP基本呼叫流程 4
2.2 VoIP的关键技术 5
2.2.1 信令技术 5
2.2.2 编码技术 6
2.2.3 实时传输技术 6
2.2.4 QoS保障技术 6
2.2.5 网络传输技术 6
2.3 相关协议 7
2.3.1 会话通告协议(SAP) 7
2.3.2 会话描述协议(SDP) 7
2.4 本章小结 8
第三章 基于SIP的VoIP系统设计 9
3.1 VoIP原理 9
3.1.1 语音-数据转换 10
3.1.2 原数据到IP 转换 10
3.1.3 传送 10
3.1.4 IP 包-数据的转换 11
3.1.5 数字语音转换为模拟语音 11
3.2 基于SIP的VoIP系统结构 11
3.2.1 UAC/UAS 12
3.2.2 用户代理 12
3.2.3 注册服务器 12
3.2.4 重定向服务器 12
3.2.5 代理服务器 12
3.2.6 定位服务器 13
3.3 基于SIP的VoIP系统流程 13
3.4 本章小结 14
第四章 基于SIP的VoIP客户端的设计 15
4.1 UA模块大学论文网www.wnwu.com 15
4.1.1 UA 设计思想 16
4.1.2 UA功能模块 17
4.2 UAC模块 18
4.2.1 INVITE客户端事务 19
4.2.2 NON-INVITE客户端事务 21
4.2.3 UAC功能模块 23
4.3 本章小结 26
第五章 VoIP客户端的功能实现 27
5.1 UA模块在PC机上的测试 27
5.1.1 UAC功能测试 27
5.1.2 SIP消息的测试分析 28
5.1.3 呼叫保持和呼叫转移功能测试分析 30
5.2 测试小结 32
结论 33
致谢 34
参考文献 35
附录 37