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
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
