Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Kaufman
ubject: Re: [SR-Users] proper way for infinite loop in event_route for evrexec module Hello lhor, yes i will do some tests with cron to see if it suits well. the scenario is we have kamailio connected to redis database. redis store some configs for kamailio that we want to update (from redis to

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Patrick Karton
août 2022 07:09 À : sr-users@lists.kamailio.org Objet : Re: [SR-Users] proper way for infinite loop in event_route for evrexec module Patrick, Maybe I'm a bit out of context, but could some external process like cron suits better for this kind of tasks than internal job? Le 14/08/2022 à

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-16 Thread Patrick Karton
-Users] proper way for infinite loop in event_route for evrexec module Patrick, Maybe I'm a bit out of context, but could some external process like cron suits better for this kind of tasks than internal job? Le 14/08/2022 à 16:37, Patrick Karton a écrit : Hello i would like to us

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-15 Thread Ihor Olkhovskyi
Patrick, Maybe I'm a bit out of context, but could some external process like cron suits better for this kind of tasks than internal job? Le 14/08/2022 à 16:37, Patrick Karton a écrit : Hello i would like to use the *evrexec *module to execute background jobs over *exec *module *mainly beca

Re: [SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-15 Thread Daniel-Constantin Mierla
Hello, iirc, there are two types of event routes there:  - one that is executed at startup by providing the 'exec' modparam  - one that just have to be defined in config and not provided to the 'exec' modparam You need to use the 2nd one, just define it and then you will be able to execute i

[SR-Users] proper way for infinite loop in event_route for evrexec module

2022-08-14 Thread Patrick Karton
Hello i would like to use the evrexec module to execute background jobs over exec module mainly because i want to be able to trigger that route manually via rpc from time to time. in the documentation its is stated we should use tasks that run forever and except using while loop i dont see ano