eXosip_v4.1.0开发手册

更新时间:2023-04-25 10:10:24 阅读: 评论:0


2023年4月25日发(作者:女人花简谱歌谱)

eXosip_v4.1.0开发⼿册

使⽤eXosip、osip开发SIP程序是很多⼈的选择,但在⽹上找了⼀个些开发说明,⼤部分是很早以前的版本说明。近 段有点时间,写⼀

个eXosip新版的开发⼿册。⽬录如下:

⽬录

1、 前⾔............................................................................................................................... 5

1.1 概述 ............................................................................................................................ 5

2、 The eXtented eXosip stack ...................................................................................... 6

2.1 How-To initialize libeXosip2 ............................................................................... 7

2.1.1 Initialize eXosip and prepare transport layer ..................................... 7

2.1.2 Choosing UDP,TCP,TLS or DTLS ....................................................................... 8

2.1.3 Specific tup for TLS ................................................................................... 8

2.1.4 Additionnal tup ............................................................................................. 9

2.1.5 NAT and Contact header ................................................................................. 10

2.1.6 About DNS ........................................................................................................... 11

2.1.7 Handle eXosip2 events张卫平 (eXoisp_event_t) ................................................... 12

2.2 How-To initiate,modify or terminate calls ................................................... 14

2.2.1 Initaite a call ............................................................................................... 14

2.2.2 Answer a call ................................................................................................... 16

2.2.3 Terminate a Call ............................................................................................. 17

2.2.4 Sending INFO,REFER,UPDATE,NOTIFY,OPTIONS request ............................. 17

2.2.5 Sending any other request,with any header ........................................... 18

2.3 How-To nd or update registrations ............................................................... 18

2.3.1 Initiate a registration ............................................................................... 18

2.3.2 Contact header in REGISTER ......................................................................... 19

2.3.3 Set password(s) ............................................................................................... 19

2.3.4 Delete all registration ............................................................................... 20

2.3.5 Update a registration ................................................................................... 20

2.3.6 Cloing the registration ........................................................................... 20

2.3.7 Discard registration context ..................................................................... 21

3、 General purpo API ................................................................................................ 22

3.1 eXosip2 configuration API ................................................................................... 22

3.1.1 Data Structures ............................................................................................... 22

3.1.2 Macros ................................................................................................................. 22

3.1.3 Enumerations ..................................................................................................... 22

3.1.4 Functions ........................................................................................................... 23

3.1.5 Macro Definition Documentation ................................................................. 23

3.1.6 Enumeration Type Documentation ................................................................. 25

3.1.7 Functions Documentation ............................................................................... 26

3.2 eXosip2 network API ...............................................................................................革命先烈 30

3.2.1 Functions ........................................................................................................... 30

3.2.2 Functions Documentation ............................................................................... 31

3.3 eXoisp event API ..................................................................................................... 31

3.3.1 Enumerations ..................................................................................................... 31

3.3.2 Functions ........................................................................................................... 32

3.3.3 Enumeration Type Documentation ................................................................. 33

3.3.4 Functions Documentation ............................................................................... 34

4、 SIP MESSAGE and call control API ...............说帘 ....................................................... 36

4.1 eXosip2 INVITE and Call Management ................................................................. 36

4.1.1 Functions ........................................................................................................... 36

4.1.2 Function Documentation ................................................................................. 37

4.2 eXosip2 request outside of dialog ................................................................... 43

4.2.1 Functions ........................................................................................................... 43

4.2.2 Function Documentation ................................................................................. 43

4.3 eXosip2 OPTIONS and UA capabilities Management ......................................... 45

4.3 eXosip2 OPTIONS and UA capabilities Management ......................................... 45

4.3.1 Fu大学生毕业季 nctions ........................................................................................................... 45

4.3.2 Function Documentation ...........西梅是什么 ...................................................................... 45

4.4 eXosip2 Publication Management ......................................................................... 47

4.4.1 Functions ........................................................................................................... 47

4.4.2 Function Documentation ................................................................................. 47

4.5 eXosip2 REFER and blind transfer Management outside of calls ............. 48

4.5.1 Functions ........................................................................................................... 48

4.5.2 Function Documentation ................................................................................. 48

4.6 eXosip2 REGISTER and Registration Management ............................................. 49

4.6.1 Functions ........................................................................................................... 49

4.6.2 Function Documentation ................................................................................. 49

4.7 eXosip2 SUBSCRIBE and outging subscriptions ............................................... 51

4.7.1 Enumerations ..................................................................................................... 51

4.7.2 Functions ...........................................................................................观看长津湖有感 ................ 52

4.7.3 Enumeration Type Document绞尽脑汁 ation ................................................................. 52

4.7.4 Function Documentation ................................................................................. 53

4.8 SUBSCRIBE and incoming subscriptions ............................................................. 55

4.8.1 Functions ........................................................................................................... 55

4.8.2 Function Documentation ................................................................................. 55

4.9 authentication API ................................................................................................. 57

4.9.1 Functions ........................................................................................................... 57

4.9.2 Function Documentation ................................................................................. 57

4.10 SDP helper API ....................................................................................................... 60

4.10.1 Functions ......................................................................................................... 60

4.10.2 Function Documentation ............................................................................... 60


本文发布于:2023-04-25 10:10:24,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/847256.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:osip
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图