下图是asterisk的呼叫流程图:
我们以sip的呼叫过程为例来描述,其他channel的呼叫过程基本类似。
Astersik下注册的sip用户主动发起一个呼叫的函数调用过程(incoming)如下:
do_monitor->sipsock_read->handle_request->handle_request_invite->sip_new/ast_pbx_start->pbx_th...
分类:
其他好文 时间:
2014-07-22 00:27:37
阅读次数:
294
Event是内核对象,他可以分为自动和手动两种模式。HANDLE CreateEvent( LPSECURITY_ATTRIBUTES lpEventAttributes,BOOL bManualReset,BOOL bInitialState,LPCTSTR lpName); 参数lpEventA...
分类:
编程语言 时间:
2014-07-22 00:12:36
阅读次数:
220
本地打开dev项目,发现很多notice级别错误。找了一下相关文章,发现这样一篇文章,大家可以阅读以下。 地址:http://be-evil.org/php-error-handle-benchmark.html 核心关注:关闭掉PHP错误输出并不会关闭php内核...
分类:
Web程序 时间:
2014-07-21 13:20:41
阅读次数:
224
handle*(n)把手,把柄 *(v)处理,解决Turn the Handle to open the door.oppose op=相反 +pose postion位置处于相反的位置或立场Thy boy opposes his father's smoking;he's always try.....
分类:
其他好文 时间:
2014-07-21 11:24:31
阅读次数:
226
1. 热键的使用 热键不用了的话一定要卸载,否则下次启动时会被占用。 函数原型 注册函数 BOOL RegisterHotKey(
HWND hWnd, // handle to window
int id, // hot key identifier
UINT fsModifiers, // key-...
分类:
其他好文 时间:
2014-07-21 10:13:27
阅读次数:
387
HANDLE WINAPI CreateRemoteThread(__in HANDLE hProcess,__in LPSECURITY_ATTRIBUTES lpThreadAttributes,__in SIZE_T dwStackSize,__in LPTHREAD_STAR...
分类:
编程语言 时间:
2014-07-20 21:31:14
阅读次数:
355
在使用最新版ADT 23进行android学习时发现一些问题:1.通过设置intent的action来启动另外一个activity时,会出现No Activity found to handle Intent这个错误仔细查看了源码发现代码错误,思索许久并未找出错误。当查看到工程的build path...
分类:
移动开发 时间:
2014-07-20 21:29:35
阅读次数:
261
转载请包含网址:http://blog.csdn.net/pathuang68/article/details/7351317一、SurfaceSurface就是“表面”的意思。在SDK的文档中,对Surface的描述是这样的:“Handle onto a raw buffer that is be...
分类:
其他好文 时间:
2014-07-19 17:22:55
阅读次数:
288
Description
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle can b...
分类:
其他好文 时间:
2014-07-18 12:21:12
阅读次数:
253
这是个提醒,算是吧!如果详细原理过程,可能会有一个大篇幅。但这里不想多加赘述,只说说它的破坏力!最近写了个图像处理框架,要做个基类来handle众多子类,写之前一直申称:要注意内存管理,写好析构函数。谁知最后还是偏偏忘记了将基类析构函数virtual化,结果在操控基类释放内存的一段程序中,发现基类释...
分类:
编程语言 时间:
2014-07-18 12:03:57
阅读次数:
261