<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>a blocking operation in configuration file or kemi script is
blocking the sip worker. If your http operation is not blocking,
then it is not going to block the sip worker in kamailio. If you
want to keep the sip request until the http response arrive,
suspend the transaction, do the http query and when the response
arrives, resume the transaction. See tmx module for
t_suspend()/t_continue().</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 09.05.17 12:22, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_Vfmu-3Ffzw5VtJfYMxdcedgjfXEasfm40BvrE_f7qaF2Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all. I m trying to use KEMI with lua and want to
make call http client lua module (external). I want to ask: is
it will block kamailio event loop (or somethig like it in
kamailio)?<br>
<br>
For more understanding what im talking about i will provide
example with openresty (nginx + lua)<br>
It uses nginx cosockets and if i will use not cosockets based
module in openresty it will block nginx eventloop because of
using network operations in nginx worker context.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>