[SR-Users] empty action lists in route block

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 4 09:29:22 CEST 2019


Hello,

On 01.06.19 15:26, Maryam Baghdadi wrote:
> Hello everyone!
>
> I tried to use from Lua scripting language in kamailio configuration
> and rewrite all routes in Lua script.
> 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.
> 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" .
> why this happens and what's the solution ?

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.

Eventually you can look at ki_async_route() implemented in the async
module, which has something similar.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190604/0ff91716/attachment.html>


More information about the sr-users mailing list