[Users] interacting with the db via cfg

Klaus Darilion klaus.mailinglists at pernau.at
Tue Feb 21 09:21:31 CET 2006


Rick Richardson wrote:
> Hey list,
> 
> I was wondering if there is a way to interact with a sql database
> directly from the .cfg files. I need to store the contents of a header
> field in the trusted table and was hoping I could avoid writing a C
> routine to do so. 


If you are using CVS version you can use the new function avp_db_query
http://openser.org/docs/modules/1.1.x/avpops.html#AEN239

with 1.0.0 you might use the avp_db_store function in some way.

regards
klaus




More information about the sr-users mailing list