Using msg.call_function() should be avoided because is a hack to executed kamailio native
config functions and can lead to crashes and memory leaks. It cannot be made completely
safe due to custom optimisations done by kamailio native config interpreter, unless one
goes one by one for each functions and analyses all kind of parameters and combinations.
If you want to go that way, pull requests are welcome!
Otherwise, you should use the KEMI framework exported functions:
*
https://www.kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modul…
If you want to discuss more, then email to sr-users(a)lists.kamailio.org .
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3113#issuecomment-1128712077
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3113/1128712077(a)github.com>