Browse Source

allow extensibility on custom init

update-rsyslog-config
lazedo 7 years ago
parent
commit
7d5d95d96d
1 changed files with 11 additions and 5 deletions
  1. +11
    -5
      kamailio/custom-init.cfg

+ 11
- 5
kamailio/custom-init.cfg View File

@ -1,6 +1,3 @@
#!ifdef PRESENCE_ROLE
######## async operations module ########
loadmodule "async.so"
modparam("async", "workers", 5)
@ -8,7 +5,16 @@ modparam("async", "workers", 5)
event_route[core:worker-one-init]
{
async_route("PRESENCE_INITIAL_CLEANUP", "20");
async_route("DEFERRED_INIT", "20");
}
#!endif
route[DEFERRED_INIT]
{
xlog("L_INFO", "processing deferred init\n");
#!ifdef PRESENCE_ROLE
route(PRESENCE_INITIAL_CLEANUP);
#!endif
}

Loading…
Cancel
Save