Re: help. execution in event_route takes too much time

Сергей Приймак via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CAKsmdEN=mU3HGvTsnnFLX+S-aFMvJRJYEHivCqHA2gVZnHk_HQ@mail.gmail.com>
Exactly If i run from shell like sudo -u kamailio ./ipassign.sh it takes
several seconds.

>From kamailio.cfg it is 40 seconds.

Пн, 16 июня 2025 г. в 18:45, Alex Balashov via sr-users <
[email protected]>:

> Hi,
>
> Are you implying that if you run the script manually, in exactly that
> fashion, it does not take 40 sec? Have you checked?
>
> > On Jun 16, 2025, at 9:58 AM, Сергей Приймак via sr-users <
> [email protected]> wrote:
> >
> >     • 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.
> >
> <ipassign.sh><kamailio.cfg>__________________________________________________________
> > Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> > To unsubscribe send an email to [email protected]
> > Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>
> --
> Alex Balashov
> Principal Consultant
> Evariste Systems LLC
> Web: https://evaristesys.com, https://www.csrpswitch.com
> Tel: +1-706-510-6800
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.