3 Daniel-Constantin Mierla
10 Daniel-Constantin Mierla
14 Copyright © 2017 http://www.asipto.com
15 __________________________________________________________________
25 2.2. External Libraries or Applications
33 1.1. Set exec parameter
35 Chapter 1. Admin Guide
43 2.2. External Libraries or Applications
51 The module executes even route blocks once on dedicated processes. The
52 execution can be delayed for an interval of time.
54 The actions in the event route should be a loop or other tasks that run
60 2.2. External Libraries or Applications
64 The following modules must be loaded before this module:
65 * No dependencies on other Kamailio modules.
67 2.2. External Libraries or Applications
69 The following libraries or applications must be installed before
70 running Kamailio with this module loaded:
79 The definition of an exec task. The value of the parameter must have
81 * "name=_string_;wait=_number_;workers=_number_"
83 The parameter can be set multiple times to get more exec tasks in same
85 * name - name of the event route to be executed.
86 * workers - if set to 0 or 1 the task is executed in a dedicated
87 process. Any number > 1 will create more dedicated processes, each
88 of them executing the task.
89 * wait - timer interval in micro-seconds to wait inside the dedicated
90 process before executing the task.
92 Default value is NULL.
94 Example 1.1. Set exec parameter
96 modparam("evrexec", "exec", "name=evrexec:timer;wait=1000;workers=1;")
98 event_route[evrexec:timer] {
101 xlog("$$var(x) is $var(x)\n");
102 $var(x) = $var(x) + 1;