Nice idea! This would perfectly fit. So are you executing a little script within the kamailio init script before kamailio finally starts, or are you asking the db within the kamailio.cfg anywhere and generating the cfg file (which doesn’t work afaik)?
Am 19.05.2014 um 11:43 schrieb Juha Heinanen <j...@tutpro.com>: > 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ 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