Asterisk ast_data
来源:互联网 发布:sql 多个结果 编辑:程序博客网 时间:2024/06/05 20:38
Asterisk ast_data
ast_data
http://svn.asteriskdocs.org/res_data/
http://bugs.digium.com/bug_view_page.php?bug_id=0001765
The code removes all SQL code from app_voicemail.c, chan_sip.c, chan_iax2.c, and adds the ability to do extension lookups from an external module to pbx.c.
Currently MySQL, PostgreSQL, and ODBC database modules are included in the tarball. The .conf file should be helpful as to how to configure things.
Database connection pooling is in each data_xxx.c module to help avoid locking contentions with single-threaded database engines.
Modules for RADIUS, LDAP, etc. could be written by following the example data_xxx.c modules.
When installed, if you delete the /etc/asterisk/data.conf file, Asterisk will create the appropriate file for you based on information in your sip.conf, voicemail.conf, and iax.conf files if it needs to.
There are CLI commands as well:
show data mysql status
show data odbc status
show data pgsql status
show data handlers
data debug
data no debug
All .patch.txt files inside the tarball were up-to-date with CVS as of the time of this post. If you want the most recent version, you can obtain it from http://svn.asteriskdocs.org/res_data/
Happy testing!. Thanks for the contributions of code and ideas from ssokol, folsson, exomorph, citats, bkw, mikes2277, and others. Also to exomorph for the space on his SVN server for code placement.
Asterisk, SER and MWI
http://mail.iptel.org/pipermail/serusers/2004-December/013727.html
Actually I wrote a patch for this and it supports ast_data too. What you do is tell asterisk that all of your phones IP addresses are your SER machine. Then when a message gets left Asterisk sends the NOTIFY to username at seripaddress:serport. SER gets it and since it knows what's up, it relays it to the phone. Tada! I gave my patch to Rob (who leads up the ast_data patch. If you need it let me know. Its for Asterisk 1.0.2 with the 1.0.2 ast_data patch.
ref. Asterisk MWI
- Asterisk ast_data
- Asterisk
- asterisk
- asterisk
- Asterisk
- asterisk
- Asterisk
- Asterisk
- Asterisk Command
- Asterisk-Java
- 什么是Asterisk?
- Asterisk十问十答
- asterisk十问十答
- Asterisk集联
- 什么是asterisk?
- Asterisk十问十答
- Asterisk十问十答
- Asterisk 配置文件
- 技术和管理到底要走哪条路?
- MTD系列 - 关于linux MTD的一些理解
- 在Win32控制台程序中添加Windows窗口
- 程序员能力矩阵 你属于哪一层?
- class based generic view
- Asterisk ast_data
- MTD系列 - MTD User modules -- Raw block
- LDAP 与各系统的集成
- 结合Bootloader的相关知识,并参考ARM的汇编指令,分析下面的Bootloader代码。
- dijkstra算法与prim算法的区别
- 计算机语言
- MTD系列 - linux内核底层nand驱动解析
- MTD系列 - pxa3xx_nand_probe()函数解析
- acm pku 1207 The 3n+1的算法分析与实现