Re: [SR-Users] Startup Route in Kamailio

2015-10-12 Thread Daniel-Constantin Mierla
Hello, see the discussion started by: http://lists.sip-router.org/pipermail/sr-users/2015-October/date.html With old versions, you can try with next example at the top of request route: if($var(do) == 0) { lock("start"); if($sht(do)==0) { $sht(do) = 1; $var(do) = 1; } else { $var(do

[SR-Users] Startup Route in Kamailio

2015-10-08 Thread Sunil More
Hi All, I am new to Kamailio world. I am trying to initialize some details at Kamailio startup, this requires some database queries from a few tables. I have read about the htable event, however sql queries are not working in this route. I have come upon following errors. Please suggest a solutio