文档介绍:华中科技大学
硕士学位论文
基于SIP的嵌入式VoIP网关的设计与实现
姓名:潘鹏
申请学位级别:硕士
专业:通信与信息系统
指导教师:杨宗凯
20050429
摘要
随着计算机技术网络传输技术和数字信号处理技术的飞速发展基于 IP 分组
网络的实时多媒体业务的应用越来越多其中 VoIP Voice over IP 是目前基于 IP
分组网络多媒体通信的一个典型业务已经成为当前技术研究的热点同时它也
符合下一代网络三网合一电话网数据网有线电视网的发展方向
VoIP 是一种以 IP 电话为主并推出相应增值业务的技术其最大的优势是能够
充分高效的利用 和全球 IP 互连的网络资源提供比传统业务更多更好
更灵活的多媒体服务 VoIP 网关是 VoIP 系统中最重要的部分它可以为各种用户提
供廉价的 VoIP 接入服务和以 VoIP 为基础的多样化增值服务
本文在深入分析和研究了 VoIP 系统通信协议包括 SIP 信令控制协议和
RTP/RTCP 语音传输协议的基础之上分别阐明了这两套协议通信的基本原理提
出了一种嵌入式 Linux 平台下 VoIP 网关的设计模型与实现方案并且详细论述了 SIP
协议栈和 RTP/RTCP 协议栈的设计与实现过程整个软件架构采用模块化和层次化
的结构模块之间使用统一的接口进行通信层与层之间保持松耦合连接这样实
现的代码结构清晰明了同时也具有良好的可移植性和可扩展性能够很容易的应
用到类似通信系统中
该设计与实现方案目前已经应用于基于 SIP 的嵌入式 VoIP 网关通信系统中通
过对网关进行的系统功能测试结果表明该网关系统完全能够满足多业务异构网络
统一接入的语音通信需求文章最后对下一步要做的工作进行了展望提出了改进
的目标和方法这将使网关的功能得到进一步的完善
关键词: IP 上的语音业务会话初始化协议实时传输协议网关协议栈
I
Abstract
With the rapid development puter technology, network transmission technology
and Digital signal processing technology, various IP based packet work real-time
multimedia applications are widely in use. As a typical IP application, VoIP (Voice over IP)
has been a hotspot of technology research now. It also accords with the evolution trend of
"networks merging" (including work, work and cable work).
VoIP is an IP telephone based technology which provides various value-added services.
It can fully and efficiently take advantage of work resources and provide more
multimedia services than traditional technologies do. As a critical part of VoIP system,
VoIP gateways are widely used to supply cheap VoIP accessing services and value-added
services based on it.
The thesis firstly clarifies the principles of SIP and RTP/RTCP protocol based on
thorough analysis and research. It presents a design model and implementation of VoIP
Gateway under embedded Linux environment, and then it illustrates the implementation of
SIP and RTP/RTCP protocol stack in detail. The software architecture is modularized and
leveled with different municatin