Serg1289 created an issue (kamailio/kamailio#4285)
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.