<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,<br>
</p>
<div class="moz-cite-prefix">On 01.06.19 15:26, Maryam Baghdadi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPrdAbCw0z6CVGNyawV1Lomrg9_j=CjJ50qtD1eSepG_z529mQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d">Hello everyone!</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d"><br>
</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d">I tried to use from Lua scripting
language in kamailio configuration and rewrite all routes in
Lua script.</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d">and I export many functions in
ims_auth in KEMI and recompile ims_auth module. I have a
problem with www_ims_challenge function calling in Lua script.</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d">when I define and call a function
(REG_MAR_ROUTE) in www_ims_challenge as a route black, I get
this error " empty action lists in route block" .</div>
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;color:#20124d">why this happens and what's the
solution ?</div>
</div>
</blockquote>
<p>if the corresponding function has a parameter that specify a
route block name, then you need to make the equivalent kemi
function call another function you define in kemi script.</p>
<p>Eventually you can look at ki_async_route() implemented in the
async module, which has something similar.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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></pre>
</body>
</html>