[Kamailio-Devel] initializing shared variables from database
Juha Heinanen
jh at tutpro.com
Mon Aug 25 08:02:25 CEST 2008
i would like to make kamailio more user friendly by getting rid of many
things that are currently hard coded in config script. this could be
accomplished if i could initialize script or shared memory variables
from database when server is started and also dynamically when server is
running.
currently i don't know a way how to accomplish this. if such a thing
does not exit yet, how about introducing a "server_init" route block
that gets executed when server starts and that could be re-executed on
the fly by a mi command? any better ideas?
-- juha
ps. while studying this, i noticed that shared memory variables
($shv(name)) are not mentioned on pseudovariables wiki page
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.4.x
but only in CFGUTILS README.
More information about the Devel
mailing list