Asked this question earlier in the week, and didn't get an answer.
I'm using avp_db_query to log calls to MySQL. I'd like to be able to turn this and other functionality on and off in the openser.cfg file without having to comment lines. Obviously putting the settings into MySQL and reading them with avp_db_query() doesn't make much sense.
Does OpenSER have some sort of simple key/value pair configuration it read from a file so that I can control the basic configuration with? The db_text and db_berkeley modules are unfortunately only designed to be used for userloc data. Why is that?
Thanks, Doug.
____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
On Sunday 13 January 2008, Douglas Garstang wrote:
Asked this question earlier in the week, and didn't get an answer.
I'm using avp_db_query to log calls to MySQL. I'd like to be able to turn this and other functionality on and off in the openser.cfg file without having to comment lines. Obviously putting the settings into MySQL and reading them with avp_db_query() doesn't make much sense.
Does OpenSER have some sort of simple key/value pair configuration it read from a file so that I can control the basic configuration with? The db_text and db_berkeley modules are unfortunately only designed to be used for userloc data. Why is that?
Hi Douglas,
you could use the gflags module to implement such a function. This values can be manipulated with FIFO commands.
http://www.openser.org/docs/modules/1.3.x/gflags.html
The dbtext and db_berkeley modules should work with the most modules, that don't need the raw query capability. Implementing this type of queries for that modules is not possible because they don't support SQL at all.
Cheers,
Henning