Since 5.6.0 there is forward_reply() in corex module
https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.f.forward_reply
it doesn't have enough description but looking at the source it calls core->do_forward_reply function
which ( at least as I see ) doesn't block the execution of the further script commands.

вт, 28 июн. 2022 г. в 18:45, Alex Balashov <abalashov@evaristesys.com>:

> On Jun 28, 2022, at 10:06 AM, Olle E. Johansson <oej@edvina.net> wrote:
>
> I don’t know how to do it that way, but I would add stuff to mqueue and process it asynchronously in the background.

+1 — I think this is the way to go. Just push the workload off to some other async routine.

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users