On Wed, 2004-06-02 at 12:45, Brian D'Arcy wrote: > Hi Adam, > > I appreciate your feedback, and understand totally where you're coming > from as far as the database perspective goes. > > For the first "draft" of the app, I think I'm going to let it default to > using a conf file for two reasons. > > First, my setup currently does not utilize a database. I would like to > move to that type of a setup in the future however. > > Secondly, seeing as how I'm sitting down to learn C this week, I think > that is definitely biting off more than I can chew for a first attempt!
I think you might have got the wrong impression. It is actually equally easy to implement using the astdb. Instead of learning how to get asterisk to read the conf file, you just need to find the system calls on how to read a variable from the astdb. int ast_db_get(const char *family, const char *key, char *out, int outlen); looks like the only function that you would need... Regards, Adam _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
