Summary: | ASTERISK-04101: [patch] convert app_db to dialplan functions | ||
Reporter: | Russell Bryant (russell) | Labels: | |
Date Opened: | 2005-05-07 01:46:41 | Date Closed: | 2011-06-07 14:10:21 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_db.deprecatewarning.txt ( 1) func_db.c | |
Description: | I have written func_db.c which is intended to replace the functionality currently provided by app_db.c. app_db contains to following applications: DBPut, DBGet, DBDel, and DBDeltree My current implementation implements DB_DEL and DB_DELTREE as their own functions. I have combined DBPut and DBGet into a single dialplan function, DB, which has both a read and write version. ${DB(foo/bar)} will retrieve a value and ${DB(foo/bar)=blah} will set a value. After thinking about it a little bit, I'm wondering if it would just be less confusing to implement separate DB_PUT and DB_GET dialplan functions. I figured I would just go ahead and post this so I can get some comments. Thanks. :) ****** ADDITIONAL INFORMATION ****** Disclaimer is on file russelb@clemson.edu | ||
Comments: | By: Mark Spencer (markster) 2005-05-08 13:02:04 Added to CVS, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:33:41.000-0600 Repository: asterisk Revision: 5604 U trunk/apps/app_db.c U trunk/funcs/Makefile A trunk/funcs/func_db.c ------------------------------------------------------------------------ r5604 | markster | 2008-01-15 15:33:41 -0600 (Tue, 15 Jan 2008) | 2 lines Convert app_db to function variables (bug ASTERISK-4101) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5604 |