文档介绍:oSIP开发者手册
——本手册指导开发者利用oSIP栈开发用户代理
原文标题:oSIP User Manual
原文作者:Aymeric Moizard
联系方法:******@
版权保护:GNU Free Documentation License
项目网站:
译文作者:陈善学
联系方法:******@
 
摘要
“会话发起协议(Session Initiation Protocol-SIP)是一个应用层的信令控制协议。用于创建、修改和终止一个或多个参与者的会话。这些会话可以是Internet多媒体会议、IP电话或多媒体分发(例如:语音信箱)。会话的参与者可以通过组播(multicast)、网状单播(unicast)或两者的混合体进行通信。”
"The Session Initiation Protocol (SIP) is an application-layer control (signaling) protocol for creating, modifying and terminating sessions with one or more participants. These sessions include Internet multimedia conferences, Internet telephone calls and multimedia distribution. Members in a session can communicate via multicast or via a mesh of unicast relations, or a combination of these."
版权
本文的版权归Aymeric Moizard所有。允许拷贝、分发和在”GNU Free Documentation License”()下的定制。需要注意的是,本文档的任何章节的引用(包括本中文翻译)需列出它们的标题、开始的文本和结尾文本,并且标明文档受”GNU Free Documentation Licence”保护。
Copyright (c) 2001 Aymeric MOIZARD. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version or any later version published by the Free Software Foundation; with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A copy of the license is included in the section entitled "GNU Free Documentation License".
前言
译者修正了原文中一些细微的错误。本文档是由译者独立完成,未免有翻译不妥之处,因此任何的建议和指正都是非常欢迎的。联系的方式是通过电子邮件至 ******@
索引
摘要 1
版权 1
前言 1
索引 2
正文 3
第一章 SIP协议 3
SIP独立与媒体 3
SIP独立于传输层 3
SIP有很好的扩展性 3
SIP和最终用户服务 3
第二章 SIP协议概述 4
SIP语法 4
SIP事务 5
SIP会话 5
Server 行为 7
第三章 oSIP开发库 7
目标 7
开发的层次 7
语法分析器 7
有限状态机 8
事务管理 8
谁将受益于oSIP 8
允许的平台 8
第四章 oSIP语法分析器 8
文件 8
SIP-URL(SIP地址) 9
URL定义的语法结构和设计目标 9
url_t结构体操作的API 9
url_param_t和url_header_t操作的API 11
SIP headers操作的API 13
SIP Message操作的API 17
语法分析部分样例程序 23
结构信息转化成字符串 26
如何提高语法分析器的性能 27
第五章 有限状态机 27
事务处理和事件(Events) 2