- kamailio version version: kamailio 6.0.1 (x86_64/linux) fce50d
- operating system where server is running: Linux Ubuntu 24
- CPU architecture of the system - 1 CPU
- error log messages from syslog - no errors
- if there is a coredump file, use gdb to extract the following:
- information about when it happens:
- at startup
- at shutdown
- at runtime: - permanently
============= ISSUE DESCRIPTION ===============
In case of event below, script execution takes too much time (40 sec):
event_route[dispatcher:dst-down] {
exec_msg("/bin/bash -c '/usr/local/etc/kamailio/ipassign.sh &'");
}
In case I run this script from shell it takes ~2 sec.
-----------------------------------------------------------------------------------------------
Configs attached.