This looks like adding the destination into timer list before the timer process
has been initialized. Seems to happen in the modparam function callback and
likely the timer is created after config parsing to get the values for
real-time parameters
(http://kamailio.org/wiki/cookbooks/5.4.x/core#real-time_parameters).
The approach should be to create the list of the items via the modparam
callback and then add them to the timer in mod_init. This has to be done in the
c code. Maybe @NGSegovia can check if my assumptions are correct, he seems to
be familiar with the module
An workaround for now is to load htable module, define
event_route[htable:mod-init] and there add the destinations for keepalive with
the function.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2476#issuecomment-692084778
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev