Re: [OpenSIPS-Users] does lua_exec supports async and launch

2020-09-28 Thread Johan De Clercq
fine, then i have a start to add it. On Mon, Sep 28, 2020, 09:47 Răzvan Crainea wrote: > Hi, Johan! > > Unfortunately the lua module does not support asynchronous operations. > > TBH, I'm not that familiar with the module, so I really don't know > exactly how it gets executed, but in order to ad

Re: [OpenSIPS-Users] store data locally

2020-09-28 Thread Giovanni Maruzzelli
On Wed, Sep 23, 2020 at 4:17 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Db_text not being obsoleted: +1 > > #metoo -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 ___ Users mailing list Users@lists.opensips

Re: [OpenSIPS-Users] Authenticate with dbaliases or change Caller ID

2020-09-28 Thread Răzvan Crainea
If I understand correctly, you want to authenticate an arbitrary user (not taken from the message) against the subscriber table. The way you should do this is to use the pv_*_authorize() functions. A snippet for this is: 1. translate from alias to a known subscriber 2. query the subscriber tabl

Re: [OpenSIPS-Users] does lua_exec supports async and launch

2020-09-28 Thread Răzvan Crainea
Hi, Johan! Unfortunately the lua module does not support asynchronous operations. TBH, I'm not that familiar with the module, so I really don't know exactly how it gets executed, but in order to add async support, we need the lua mechanism to provide us a file descriptor (or somehting similar)

Re: [OpenSIPS-Users] rl_check some pipe are missing.

2020-09-28 Thread Răzvan Crainea
Hi, Alain! One thing that I can think of is that the commands you are running (both from script and from MI) are not atomic - this means that from the time you run rl_list, until the time the last one gets executed, new pipes might appear/disappear. So it is almost impossible to get an accurat