Yes, there is. You're best off building an rtimer+mqueue pipeline (or 
streamlined 'async' equivalent) and running your exec() calls in the 
asynchronous route. You can then t_continue() the transaction inside there.

> On Jun 18, 2024, at 1:16 PM, Jon Bonilla (Manwe) via sr-users 
> <sr-users@lists.kamailio.org> wrote:
> 
> Hi all
> 
> I've been working with async http client and async db queries in the past but
> now I have to execute scripts and store the return values in avps. 
> 
> Since I have no experience with that, I wonder how to achieve concurrency with
> that scenario. Is there a way to exec async or suspend until the exec has
> finished and resume later?
> 
> 
> cheers,
> 
> Jon
> 
> 
> 
> 
> -- 
> PekePBX, the multitenant PBX solution
> https://pekepbx.com
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:

-- 
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to