Daniel Vukicevic writes:

> I am setting different cfg Parameters via XMLRPC. Which is good for
> changing parameters per runtime and being independent from database
> lookups when kamailio is running. 
> Unfortunately cfg settings will be lost and empty after Restarting
> Kamailio if cfg values aren’t set before the request_route. So the
> idea was to look if cfg value is set, if not look into database and
> take the last cfg setting which was set. (Last cfg values will updated
> via SQL Query in the XMLRPC branch).

before my proxy (re)starts, i generate config.cfg from database and
include

local.attribute = value

statements into it.  i think it would solve your problem too.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to