Hello,

what is the operating system and the Lua version?

Can you try with KSR.is_INVITE() to check if there is any difference?

Cheers,
Daniel

On 18.06.23 22:10, iliusha...@gmail.com wrote:
> Hello,
>
> I have the following statement:
>
> if KSR.is_method("INVITE") then
>     KSR.log("info", "method not allowed " .. KSR.kx.get_method() .."\n");
>     KSR.x.exit();
> end
>
> For some reason, it falls into this condition no matter which method I use, I 
> tried OPTIONS, NOTIFY etc. 
> log file: <core> [core/kemi.c:152]: sr_kemi_core_log(): method not allowed 
> OPTIONS
>
> the same with this check:
> if KSR.is_method_in("I") then
>     KSR.log("info", "method not allowed " .. KSR.kx.get_method() .."\n");
>     KSR.x.exit();
> end
>
> this is the lua modparam settings:
> # ---- lua params ----
> modparam("app_lua", "load", "/usr/local/etc/kamailio/main.lua")
> modparam("app_lua", "reload", 1)
> modparam("app_lua", "log_mode", 1)
> cfgengine "lua"
>
> version: kamailio 5.7.0 (x86_64/linux) 1c23c2
>
> Any idea what I'm doing wrong?
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - www.kamailioworld.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  • [SR-Users] KEMI iliusha . md
    • [SR-Users] Re: KEMI Daniel-Constantin Mierla

Reply via email to