<div dir="auto">fine, then i have a start to add it.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 28, 2020, 09:47 Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Johan!<br>
<br>
Unfortunately the lua module does not support asynchronous operations.<br>
<br>
TBH, I'm not that familiar with the module, so I really don't know <br>
exactly how it gets executed, but in order to add async support, we need <br>
the lua mechanism to provide us a file descriptor (or somehting similar) <br>
that get signaled when an operation is completed. Or at least provide <br>
some mechanisms to run scripts asynchronous and provide a callback that <br>
indicates when the script has finished.<br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 9/25/20 11:34 AM, johan wrote:<br>
> does lua_exec supports async calls ?<br>
> <br>
> If no, can you please indicate what needs to be added to have this <br>
> support ?<br>
> <br>
> <br>
> wkr,<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>