- 博客(5)
- 资源 (19)
- 收藏
- 关注
原创 pthread_create线程创建的过程剖析
概述在Linux环境下,pthread库提供的pthread_create()API函数,用于创建一个线程。线程创建失败时,它可能会返回ENOMEM或EAGAIN。这篇文章主要讨论线程创建过程中碰到的一些问题和解决方法。创建线程首先,本文用的实例代码example.c:/* example.c*/#include #include #includ
2012-06-18 16:56:13 31615 1
原创 Asterisk VS FreeSwitch
关于Asterisk和FreeSwitch的比较,有很多很多的口水仗,至于如何选择,仁者见仁,智者见智。以我的经验来看,我觉得Asterisk配置比较简单(我实在是讨厌XML那种配置),但FreeSwitch在音质和性能上比较高。Asterisk1.8的性能比以前提高了很多,不过我比较失望的是线程模型还是比Freeswitch保守得多,特别是植入线程的操作,简直让人发狂。Asterisk的栈处理,
2012-06-14 10:53:36 7041
原创 windows编译freeswitch1.0.7,libpcre编译失败
在Windows下编译Freeswitch1.0.7时,编译不过去,发现有很多目标编译失败。仔细一看,发现是一个外部依赖库libpcre编译失败。 pcre是有名的正规表达式库,以前在linux下,按正常的编译三部曲套路都能成功,然道在windows下有什么玄机?报错内容为源文件pcre_chartables.c不存在云云。是我下错源码了吗? 打开\freesw
2012-06-14 09:41:21 2417 1
原创 Asterisk通道锁和引用
<!--@font-face {font-family:宋体}@font-face {font-family:宋体}@font-face {font-family:Calibri}@font-face {font-family:"\@宋体"}@font-face {font-family:"Segoe UI"}p.MsoNormal, li.MsoNor
2012-06-01 14:55:44 1165 1
原创 Asterisk Chan_sip模块的SST支持
SST(SIP Session-Timers,RFC4028)是SIP协议的一个扩展机制,它允许终端和代理周期性地刷新SIP会话。按协商好的时间间隔,周期性地发送re-INVITE或UPDATE请求,以此来保证会话的kept alive。如果会话刷新失败,所有支持SST的实体,必须清除其内部的会话状态。此外,UA还需要发出一个BYE请求,以便代理和对端UA同时清除相关会话的状态(这样做,对网络路径
2012-06-01 08:54:52 1811
FreeSWITCH clustering with OpenSIPS
2020-04-22
FreeSWITCH Cookbook
2013-07-01
Asterisk: The Definitive Guide, 3rd Edition
2013-01-25
FreeSWITCH 1.0.6
2012-04-13
VoiceXML基础教程
2011-09-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人