Asterisk ast_data

Asterisk ast_data,第1张

概述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, an 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:
showdataMysqLstatus
showdataodbcstatus
showdatapgsqlstatus
showdatahandlers
datadeBUG
datanodeBUG

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 ast_data所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/sjk/1179976.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-02
下一篇 2022-06-02

发表评论

登录后才能评论

评论列表(0条)

保存