Hello,
this should be looked at and enhanced somehow to be supported.
An workaround would be to use a lua script via app_lua to do it. Or use
rtimer or timer module to do an execution with a condition on a $var(...)
to be executed only once.
Cheers,
Daniel
On Thu, Sep 28, 2017 at 10:14 PM,
Never mind, I'm certain by now:
http://sip-router.1086192.n5.nabble.com/DB-select-htable-mod-init-doesn-t-work-td127717.html
https://lists.kamailio.org/pipermail/sr-dev/2013-February/018484.html
On 28 September 2017 at 22:18, George Diamantopoulos
wrote:
> Also, I' found
Also, I' found this post by Daniel in 2014:
https://lists.kamailio.org/pipermail/sr-users/2014-May/083155.html
To quote:
> Indeed, the db connection is not initialized at the time of executing
> event_route[htable:mod-init]. This is executed after all modules are
> initialized, but the sqlops
Hello,
I've tested again, this time including a single sql_pvquery function in the
event-route. Kamailio will also exit with "daemonize(): Main process exited
before writing to pipe" in this simpler case.
In the documentation, it is stated that: The event route is executed only
once, after core
I forgot to mention, I'm using Kamailio 5.0.3 on debian "stretch".
On 26 September 2017 at 14:40, George Diamantopoulos
wrote:
> Hello all,
>
> I've been trying to utilise event_route[htable:mod-init] in order to load
> information from the database into an htable on
Hello all,
I've been trying to utilise event_route[htable:mod-init] in order to load
information from the database into an htable on startup. However, Kamailio
exits with an error for no obvious (to me) reason. Here's the log output:
DEBUG: htable [htable.c:226]: child_init(): rank is (-127)